From 493746b14c1251a45b061d2e3edd9160c929d2b9 Mon Sep 17 00:00:00 2001 From: benj Date: Fri, 10 Apr 2026 11:13:34 +0800 Subject: a basic ui and landing web interface for tidyindex.com --- web/api/wrangler.toml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 web/api/wrangler.toml (limited to 'web/api/wrangler.toml') diff --git a/web/api/wrangler.toml b/web/api/wrangler.toml new file mode 100644 index 0000000..29feff1 --- /dev/null +++ b/web/api/wrangler.toml @@ -0,0 +1,31 @@ +name = "tidyindex-api" +main = "src/index.ts" +compatibility_date = "2026-04-01" +compatibility_flags = ["nodejs_compat"] + +# Deploy the public route. Uncomment once the zone + DNS are wired up. +# workers_dev = false +# routes = [ +# { pattern = "api.tidyindex.com/*", zone_name = "tidyindex.com" } +# ] + +# Vars / secrets are loaded from .dev.vars locally and `wrangler secret put` +# in production. DATABASE_URL points at Neon (or Postgres via Hyperdrive). +# [vars] +# (none yet) + +# KV namespace for hashed-key → account cache. Create with: +# wrangler kv namespace create KEY_CACHE +# [[kv_namespaces]] +# binding = "KEY_CACHE" +# id = "REPLACE_ME" + +# Per-account rate-limit + usage buffer Durable Object. Wired up once +# the AccountMeter class lands. +# [[durable_objects.bindings]] +# name = "ACCOUNT_METER" +# class_name = "AccountMeter" +# +# [[migrations]] +# tag = "v1" +# new_classes = ["AccountMeter"] -- cgit v1.2.3