Skip to content

Conversation

@ayaadev
Copy link

@ayaadev ayaadev commented Jan 10, 2026

Description

If users wish to change PeerTube's logo to their own SVG logo, they only have one option: client overrides. This is because the .svg file extension is not supported by the custom logo configuration in the UI. This is problematic if users want their custom logo to appear clearly, without blurriness such as the result of uploading a .png file. I have first-hand experience with this frustration.

image

 

The logo.svg file wasn't whitelisted in the NGINX configuration to be overridden by the client-overrides feature, therefore even if users placed the logo.svg file in the correct directory /assets/images the logo would not be overridden. This PR fixes this issue by simply whitelisting the logo.svg filename.

Related issues

https://framacolibri.org/t/override-logo-and-icon-with-client-overrides/9634

#3292 (this PR re-fixes overriding logo.svg)

#2897 (comment)

Has this been tested?

Yes, I have manually edited the NGINX configuration on my live production instance at https://peertube.tech. You can see the logo.svg file being replaced at: https://peertube.tech/client/assets/images/logo.svg

  • 👍 yes, I added tests to the test suite
  • 💭 no, because this PR is a draft and still needs work

This option also applies, but I have tested it on my instance.

  • 🙅 no, because this PR does not update server code

  • 🙋 no, because I need help

Screenshots

The custom logo not becoming blurry when scaled 500% in the browser.
Custom logo not becoming blurry when scaled

When uploading a custom logo through the UI, it looks unclear and blurry at the same 500% scale like the previous screenshot.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants