feat: remote sitemap
This commit is contained in:
parent
193366e946
commit
0275c8f02f
7 changed files with 86 additions and 52 deletions
12
workers/sitemap/wrangler.template.toml
Normal file
12
workers/sitemap/wrangler.template.toml
Normal file
|
@ -0,0 +1,12 @@
|
|||
name = "sitemap-worker"
|
||||
main = "./index.js"
|
||||
compatibility_date = "2023-01-01"
|
||||
|
||||
account_id = "${CF_ACCOUNT_ID}"
|
||||
workers_dev = true
|
||||
|
||||
[env.production]
|
||||
name = "sitemap-worker-production"
|
||||
routes = [
|
||||
{ pattern = "coryd.dev/sitemap.xml", zone_id = "${CF_ZONE_ID}" },
|
||||
]
|
Reference in a new issue