remove await

This commit is contained in:
RMidhunSuresh 2022-04-22 14:34:16 +05:30
parent 7a33c2e00d
commit d8da128780

View file

@ -96,7 +96,7 @@ let pendingFetchAbortController = new AbortController();
async function handleRequest(request) {
try {
if (request.url.includes("config.json")) {
return await handleConfigRequest(request);
return handleConfigRequest(request);
}
const url = new URL(request.url);
// rewrite / to /index.html so it hits the cache