fix static request handling

This commit is contained in:
2025-01-18 12:18:27 +00:00
parent d3f744ae9c
commit ad752a580b
+1 -1
View File
@@ -220,7 +220,7 @@ export default {
}
url = new URL(request.url)
if (env.serve_static) {
const response = await serve_static(request.clone(), env)
const response = await serve_static(url, env)
if (response.ok) {
return response
}