@@ -54,16 +54,6 @@ That's it. The installer:
54543 . runs ` wrangler login ` if needed (browser OAuth — that's the only interaction)
55554 . provisions ** D1** , runs ** migrations** , uploads ** secrets** , ** deploys** , and creates the ** Email Routing rule** ` you@domain → worker `
5656
57- ## 🌐 Domains
58-
59- | Hostname | Serves |
60- | ------------------------ | ------------------------------------------------------------ |
61- | ` mail.devartslab.com ` | This app (custom domain) |
62- | ` docs.devartslab.com ` | Public Notion site, proxied — visitors never see ` notion.so ` |
63- | ` devartslab.com ` / ` www ` | DevArts Lab landing page (Worker routes) |
64-
65- All three are configured in ` wrangler.jsonc ` ` routes ` and provisioned on deploy.
66-
6757## ⚙️ Unified config — one file
6858
6959Everything lives in ** ` wrangler.jsonc ` ** — worker, assets, D1, ` send_email ` , cron, routes, and all app variables:
@@ -76,8 +66,6 @@ Everything lives in **`wrangler.jsonc`** — worker, assets, D1, `send_email`, c
7666| ` AUTO_ACCEPT_INVITES ` | ` "false" ` | Auto-accept incoming invites |
7767| ` INVITE_REMINDER_MINUTES ` | ` "30" ` | Reminder email before events (` 0 ` = off) |
7868| ` SESSION_TTL_HOURS ` | ` "168" ` | UI session length |
79- | ` DOCS_HOSTNAME ` | ` docs.devartslab.com ` | Hostname that proxies the Notion site |
80- | ` NOTION_PAGE_ID ` | ` 61c6b798...b070 ` | Root Notion page served at ` docs./ ` |
8169
8270Secrets live in ` .dev.vars ` locally / ` wrangler secret ` in prod — never committed.
8371
@@ -95,6 +83,7 @@ Secrets live in `.dev.vars` locally / `wrangler secret` in prod — never commit
9583│ ├── ical.ts # RFC 5545 iCal parser + generator
9684│ ├── api.ts # REST API for the UI
9785│ ├── auth.ts # cookie session auth
86+ │ ├── edge.ts # optional hostname routing (extra subdomains)
9887│ └── db.ts # D1 access layer
9988├── public/ # the UI (served via Workers Assets)
10089└── test/ # vitest unit tests
0 commit comments