- Changed wrapper settings in open-next.config.ts to use "cloudflare-node" and "cloudflare-edge". - Updated main entry point in wrangler.toml to point to ".open-next/worker.js". - Modified middleware to allow access to the speakers project path. - Added Space Grotesk font to layout.tsx for enhanced typography. - Improved media route handling by resolving parameters correctly in route.ts. - Adjusted ServiceCard component to use a more specific type for icon handling.
19 lines
496 B
TOML
19 lines
496 B
TOML
# Cloudflare Workers configuration for Next.js
|
|
name = "biohazard-vfx-website"
|
|
account_id = "a19f770b9be1b20e78b8d25bdcfd3bbd"
|
|
compatibility_date = "2024-09-23"
|
|
compatibility_flags = ["nodejs_compat"]
|
|
main = ".open-next/worker.js"
|
|
|
|
# Custom domains
|
|
routes = [
|
|
{ pattern = "biohazardvfx.com/*", zone_name = "biohazardvfx.com" },
|
|
{ pattern = "www.biohazardvfx.com/*", zone_name = "biohazardvfx.com" }
|
|
]
|
|
|
|
# Assets binding for OpenNext
|
|
[assets]
|
|
directory = ".open-next/assets"
|
|
binding = "ASSETS"
|
|
|