diff --git a/vercel.ts b/vercel.ts index 1105e46..2018b15 100644 --- a/vercel.ts +++ b/vercel.ts @@ -6,17 +6,11 @@ export let config: VercelConfig = { installCommand: "bun install", buildCommand: "bun run build", bunVersion: "1.x", + git: { deploymentEnabled: false }, rewrites: [ routes.rewrite("/app/(.*)", "/app/index.html"), routes.rewrite("/plausible/(.*)", "https://plausible.io/$1"), routes.rewrite("/api/event", "https://plausible.io/api/event"), ], - - crons: [ - { - path: "/api/push/deliver-notifications", - schedule: "0 * * * *", - }, - ], } diff --git a/wrangler.jsonc b/wrangler.jsonc index 21b528d..5fbf91c 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -7,6 +7,12 @@ "compatibility_flags": ["nodejs_compat"], "workers_dev": true, "preview_urls": false, + "routes": [ + { "pattern": "tilly.social", "custom_domain": true }, + { "pattern": "www.tilly.social", "custom_domain": true }, + { "pattern": "migration.tilly.social", "custom_domain": true }, + ], + "triggers": { "crons": ["0 * * * *"] }, "assets": { "directory": "./dist", "binding": "ASSETS", diff --git a/wrangler.production.jsonc b/wrangler.production.jsonc index 17dbadb..5fbf91c 100644 --- a/wrangler.production.jsonc +++ b/wrangler.production.jsonc @@ -8,9 +8,11 @@ "workers_dev": true, "preview_urls": false, "routes": [ - { "pattern": "tilly.social/*", "zone_name": "tilly.social" }, - { "pattern": "www.tilly.social/*", "zone_name": "tilly.social" }, + { "pattern": "tilly.social", "custom_domain": true }, + { "pattern": "www.tilly.social", "custom_domain": true }, + { "pattern": "migration.tilly.social", "custom_domain": true }, ], + "triggers": { "crons": ["0 * * * *"] }, "assets": { "directory": "./dist", "binding": "ASSETS",