mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
add server test suite
This commit is contained in:
@@ -40,7 +40,7 @@ export default types
|
||||
async handleStaticAssets(request: Request, env) {
|
||||
console.log("handleStaticAssets");
|
||||
try {
|
||||
return env.ASSETS.fetch(request);
|
||||
return await env.ASSETS.fetch(request);
|
||||
} catch (error) {
|
||||
console.error("Error serving static asset:", error);
|
||||
return new Response("Asset not found", { status: 404 });
|
||||
|
Reference in New Issue
Block a user