Describe the bug
/api/configuration does not return the correct themes, if the themes are set per host.
This behavior leads to the themes not being selectable for users on subdomain configurations.
Galaxy Version and/or server at which you observed the bug
Galaxy Version: 23.0 - dev
To Reproduce
Steps to reproduce the behavior:
- Set
themes_config_file_by_host in the galaxy configuration to two different hosts. localhost and 127.0.0.1 can be used for local testing
- Create two different theme files for these hosts
- Run galaxy
- Go to each of these URLs, and see that the default theme for each configuration is applied
- call
/api/configuration for each of these URLs, and observe that the themes do not match the set, or displayed themes
Expected behavior
/api/configuration reflects the correct configuration per host
Additional Context
The configuration inlined in the client html behaves as expected (see #16455), which is why the default theme is applied correctly.
Describe the bug
/api/configurationdoes not return the correct themes, if the themes are set per host.This behavior leads to the themes not being selectable for users on subdomain configurations.
Galaxy Version and/or server at which you observed the bug
Galaxy Version: 23.0 - dev
To Reproduce
Steps to reproduce the behavior:
themes_config_file_by_hostin the galaxy configuration to two different hosts.localhostand127.0.0.1can be used for local testing/api/configurationfor each of these URLs, and observe that the themes do not match the set, or displayed themesExpected behavior
/api/configurationreflects the correct configuration per hostAdditional Context
The configuration inlined in the client html behaves as expected (see #16455), which is why the default theme is applied correctly.