bug: Not forwarding correct Content-Type
header.
#359
Labels
bug
Something isn't working
crate:services:january
crates/services/january
good first issue
Good for newcomers
help wanted
Extra attention is needed
What happened?
When proxying SVGs (for example) the output content-type is
text/plain
which causes them to fail to render in the browser.Example:
Github Favicon: https://github.githubassets.com/favicons/favicon.svg
Proxy: https://jan.revolt.chat/proxy?url=https%3A%2F%2Fgithub.githubassets.com%2Ffavicons%2Ffavicon.svg
image does not load in
<img>
tag(if i manually input the github URL instead of proxy)
The text was updated successfully, but these errors were encountered: