packruler / traefik-themepark

Easily add theme-park.dev themes to supported applications
Apache License 2.0
34 stars 4 forks source link

Themes not applying properly for some apps like Sonarr #14

Closed Darkfella91 closed 8 months ago

Darkfella91 commented 8 months ago

Describe the bug Themes don't apply to all parts of the WebUI for certain apps like Sonarr

Relevant Config Any specific information about regex used. Specific information about HTTP query would be appreciated as well!

Expected behavior The navigation bars on the left and top side of the WebUI should be properly themed but they are using the original Dark theme of sonarr instead, only the middle part of the web ui get the theme applied to.

Actual behavior It has to do something with subfiltering applying to the head tag instead of the body tag, as far as i understood.

Logs Any logs from your Treafik logs would be greatly appreciated!!

You can add the following to your Traefik config:

log:
  level: DEBUG

Then look for logs that end with:

module=github.com/packruler/rewrite-body plugin=plugin-rewritebody

Server (please complete the following information):

Additional context Add any other context about the problem here.