mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
await
This commit is contained in:
parent
5a94a2feba
commit
7a33c2e00d
@ -96,7 +96,7 @@ let pendingFetchAbortController = new AbortController();
|
||||
async function handleRequest(request) {
|
||||
try {
|
||||
if (request.url.includes("config.json")) {
|
||||
return handleConfigRequest(request);
|
||||
return await handleConfigRequest(request);
|
||||
}
|
||||
const url = new URL(request.url);
|
||||
// rewrite / to /index.html so it hits the cache
|
||||
|
Loading…
x
Reference in New Issue
Block a user