Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion web/public/_redirects

This file was deleted.

10 changes: 9 additions & 1 deletion wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@
"observability": {
"enabled": true
},
// Upload the *built* site, not the `web/` source tree. The static site is
// produced by the Cloudflare build command (`npm run build` in `web/`,
// which runs `vite build`). Pointing at `web` instead makes Wrangler walk
// `web/node_modules/jsnes` -- a symlink back to the repo root (the
// `"jsnes": "file:.."` dependency) -- recursing forever -> ELOOP.
// This path is resolved relative to the location of this config file.
"assets": {
"directory": "web"
"directory": "web/dist",
// React Router SPA: serve index.html for unknown paths so deep links work.
"not_found_handling": "single-page-application"
},
"compatibility_flags": [
"nodejs_compat"
Expand Down
Loading