Skip to content

Commit

Permalink
Update server/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Andi Pieper <[email protected]>
  • Loading branch information
fiji-flo and argl authored Nov 13, 2024
1 parent 0e3653e commit 1a3977c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async function send404(res: express.Response) {
.status(404)
.sendFile(path.join(STATIC_ROOT, "en-us", "_spas", "404.html"));
} else {
const index = fetch_from_rari("/en-US/404");
const index = await fetch_from_rari("/en-US/404");
res.header("Content-Security-Policy", CSP_VALUE);
return res.send(renderHTML(index));
}
Expand Down

0 comments on commit 1a3977c

Please sign in to comment.