feat: bootstrap multi-tenant storefront showcase
This commit is contained in:
15
wrangler.jsonc
Normal file
15
wrangler.jsonc
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "./node_modules/wrangler/config-schema.json",
|
||||
// Default name; each storefront overrides it at deploy time with
|
||||
// `wrangler deploy --name <worker>` (see config/stores.mjs + scripts/deploy.mjs).
|
||||
"name": "ecommerce-shops",
|
||||
"compatibility_date": "2026-06-01",
|
||||
// Assets-only Worker: no `main` script, just the static export in ./out.
|
||||
"assets": {
|
||||
"directory": "./out",
|
||||
// Static export uses trailingSlash: true -> /about/index.html
|
||||
"html_handling": "force-trailing-slash",
|
||||
// next export emits 404.html
|
||||
"not_found_handling": "404-page"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user