-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status page - Auto theme does not work on custom domains #3294
Comments
Was this not fixed by #2870 in 1.22? Am I missing something? |
I have not tested this exact case (custom domain) and I don't have one setup right now. Feel free to help investigate. |
A possible cause is, that the default value is |
I found the relevant code section. EDIT: I figured it out and submitted a pull request to fix it. :) |
🛡️ Security Policy
Description
If you select the "Auto" theme for a status page and the page has a custom domain, the light theme is always used for the custom domain. The theme works as expected when accessing the status page through the main domain using the
/status/example
URI.👟 Reproduction steps
👀 Expected behavior
When the status page loads, it should be using the dark theme
😓 Actual Behavior
The status page uses the light theme
🐻 Uptime-Kuma Version
1.22.0-beta.0
💻 Operating System and Arch
Debian 11 x86_64
🌐 Browser
Firefox 102.11.0esr
🐋 Docker Version
No response
🟩 NodeJS Version
18.14.2
📝 Relevant log output
No response
The text was updated successfully, but these errors were encountered: