feat: remote search index

This commit is contained in:
Cory Dransfeldt 2024-10-19 13:31:55 -07:00
parent e7389ce4c0
commit 193366e946
No known key found for this signature in database
8 changed files with 186 additions and 170 deletions

View file

@ -0,0 +1,12 @@
name = "search-worker"
main = "./index.js"
compatibility_date = "2023-01-01"
account_id = "${CF_ACCOUNT_ID}"
workers_dev = true
[env.production]
name = "search-worker-production"
routes = [
{ pattern = "coryd.dev/api/search*", zone_id = "${CF_ZONE_ID}" },
]