mirror of
https://github.com/gittrahan/support-fins.git
synced 2026-10-19 02:10:52 -05:00
The repo's Cloudflare git integration runs as a Workers Build (project support-fins), which invokes wrangler and fails with "Missing entry-point to Worker script or to assets directory" because nothing told it where the site is. This site is 100% static files under web/, so declare an assets directory and no main -- a script-less static-assets deploy. web/_redirects keeps working under Static Assets.
13 lines
523 B
JSON
13 lines
523 B
JSON
{
|
|
// printfins.com is a fully static site — every file lives in web/ and runs in
|
|
// the browser (no server code). Cloudflare's git integration deploys this repo
|
|
// as a Workers "static assets" project (named support-fins in the dashboard),
|
|
// so it needs this config to know WHERE the site is. No "main" key = there is
|
|
// no Worker script, just files; web/_redirects still applies under Static Assets.
|
|
"name": "support-fins",
|
|
"compatibility_date": "2026-09-21",
|
|
"assets": {
|
|
"directory": "./web"
|
|
}
|
|
}
|