Skip to content

Commit 4b94b84

Browse files
committed
fix: not found handler for Workers SPA/SSG
1 parent e59667b commit 4b94b84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const app = appFactory.createApp()
1919
return c.text('four-o-four', 404)
2020

2121
if (isWorkerd)
22-
return c.env.ASSETS.fetch('/200.html')
22+
return c.env.ASSETS.fetch('https://assets.local/200.html')
2323

2424
return c.text('four-o-four', 404)
2525
})

0 commit comments

Comments
 (0)