Fix wrong path to Hydrogen styles on timeout error page (#83)

Regressed in https://github.com/matrix-org/matrix-public-archive/pull/61 where we tried to serve this under `/css/hydrogen-styles.css` but it doesn't work because all of the image and font references in the CSS file expect it to be at the domain root so just reverted back to serving at the root `/`.
This commit is contained in:
Eric Eastwood 2022-10-18 03:42:37 -05:00 committed by GitHub
parent f796afe55e
commit b8062b16a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ async function timeoutMiddleware(req, res, next) {
humanReadableSpans = [noTracingDataAvailableItem];
}
const hydrogenStylesUrl = urlJoin(basePath, '/css/hydrogen-styles.css');
const hydrogenStylesUrl = urlJoin(basePath, '/hydrogen-styles.css');
const stylesUrl = urlJoin(basePath, '/css/styles.css');
const pageHtml = `