forked from mystiq/hydrogen-web
remove await
This commit is contained in:
parent
7a33c2e00d
commit
d8da128780
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ let pendingFetchAbortController = new AbortController();
|
||||||
async function handleRequest(request) {
|
async function handleRequest(request) {
|
||||||
try {
|
try {
|
||||||
if (request.url.includes("config.json")) {
|
if (request.url.includes("config.json")) {
|
||||||
return await handleConfigRequest(request);
|
return handleConfigRequest(request);
|
||||||
}
|
}
|
||||||
const url = new URL(request.url);
|
const url = new URL(request.url);
|
||||||
// rewrite / to /index.html so it hits the cache
|
// rewrite / to /index.html so it hits the cache
|
||||||
|
|
Loading…
Reference in a new issue