mirror of
https://github.com/tiennm99/loto.git
synced 2026-10-11 12:19:05 +00:00
fix(deploy): add wrangler.toml so CF Pages reads output dir from repo
CF Pages reported: Error: Output directory 'public' not found. The dashboard had defaulted to 'public' but SvelteKit adapter-static writes to its own output dir. wrangler.toml with pages_build_output_dir makes the project reproducible from git — no manual dashboard tweak required for the output path. The build command in the CF dashboard still controls how the build runs; ensure it is set to `npm run b u i l d`.
This commit is contained in:
1 parent
222cc97fa8
commit
ebae5371b4
1 file changed
+3
@@ -0,0 +1,3 @@
|
||||
name = "loto"
|
||||
pages_build_output_dir = "build"
|
||||
compatibility_date = "2026-04-26"
|
||||
Reference in new issue
Block a user