Avatar for the MystenLabs user
MystenLabs
walrus-sites
BlogDocsChangelog

fix(portal): add content type headers for RedirectResponse

#330Closed
Comparing
alextzimas/add-headers-for-ws-link-redirect-contents
(
e145b0a
) with
main
(
f83a9c4
)
CodSpeed Performance Gauge
+1%
Improvements
0
Regressions
0
Untouched
3
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

decompress gzip encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress gzip encoding
CodSpeed Performance Gauge
+1%
255.3 µs
253.2 µs
decompress deflate encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress deflate encoding
CodSpeed Performance Gauge
+1%
249.1 µs
247.5 µs
decompress plaintext encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress plaintext encoding
CodSpeed Performance Gauge
0%
16 µs
15.9 µs

Commits

Click on a commit to change the comparison range
Base
main
f83a9c4
+1%
fix(portal): add content type headers for RedirectResponse In the documentation we say that we support image files but this is not specified in the redirect response headers. As a result, the browser doesn't know how to process the file exactly, resulting in the images not loading in various html tags.
e145b0a
2 months ago
by Tzal3x
Home Terms PrivacyDocs