Merge pull request #636 from CedricFinance/patch-1

Redirect to / when basePath is empty
This commit is contained in:
Alex
2025-04-16 17:46:30 +03:00
committed by GitHub

View File

@@ -29,7 +29,7 @@ self.addEventListener("fetch", (event) => {
});
})
);
return Response.redirect(basePath, 303);
return Response.redirect(basePath || "/", 303);
})()
);
}