docs.scribase.com shipped no page tag, so docs reads were missing from the Scribase funnel. www.bidstage.app/* belongs to the bidstage Worker live and made wrangler deploy fail its route step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
5.1 KiB
JSON
61 lines
5.1 KiB
JSON
{
|
|
// Railyard Insights tag injector (2026-10-08): adds the cookieless page tag to
|
|
// the HTML pages of our sites at the edge, so a site does not need a rebuild
|
|
// (box-hosted apps behind the tunnel) and sites other sessions deploy often
|
|
// keep the tag whatever they ship. A zone route runs in front of a Worker
|
|
// custom domain, so this also works for the OpenNext Workers.
|
|
"$schema": "../node_modules/wrangler/config-schema.json",
|
|
"name": "railyard-insights-inject",
|
|
"main": "index.mjs",
|
|
"compatibility_date": "2026-09-20",
|
|
"workers_dev": false,
|
|
"routes": [
|
|
{ "pattern": "mail.scribase.com/*", "zone_name": "scribase.com" },
|
|
{ "pattern": "scribase.com/*", "zone_name": "scribase.com" },
|
|
// docs.scribase.com (2026-11-27, SCR-ANA): the docs site shipped no tag at all, so every docs
|
|
// read was missing from the Scribase funnel. toolgate.scribase.com is deliberately NOT routed:
|
|
// s.js posts location.search, and its OAuth consent URLs carry codes/state.
|
|
{ "pattern": "docs.scribase.com/*", "zone_name": "scribase.com" },
|
|
{ "pattern": "www.scribase.com/*", "zone_name": "scribase.com" },
|
|
{ "pattern": "menivor.com/*", "zone_name": "menivor.com" },
|
|
{ "pattern": "www.menivor.com/*", "zone_name": "menivor.com" },
|
|
{ "pattern": "yokharita.com/*", "zone_name": "yokharita.com" },
|
|
{ "pattern": "www.yokharita.com/*", "zone_name": "yokharita.com" },
|
|
{ "pattern": "oxhanatelier.com/*", "zone_name": "oxhanatelier.com" },
|
|
{ "pattern": "www.oxhanatelier.com/*", "zone_name": "oxhanatelier.com" },
|
|
{ "pattern": "share.vcpeer.com/*", "zone_name": "vcpeer.com" },
|
|
{ "pattern": "bidstage.app/*", "zone_name": "bidstage.app" },
|
|
// www.bidstage.app/* is NOT listed (2026-11-27): live it belongs to the "bidstage" Worker (308 to the
|
|
// apex), and listing it here made `wrangler deploy` fail the whole route step with "assigned to
|
|
// another worker". docs.scribase.com/* above was therefore added through the API route endpoint.
|
|
{ "pattern": "lawsynth.dev/*", "zone_name": "lawsynth.dev" },
|
|
{ "pattern": "www.lawsynth.dev/*", "zone_name": "lawsynth.dev" },
|
|
{ "pattern": "mad-projects.com/*", "zone_name": "mad-projects.com" },
|
|
{ "pattern": "www.mad-projects.com/*", "zone_name": "mad-projects.com" },
|
|
{ "pattern": "recoder.xyz/*", "zone_name": "recoder.xyz" },
|
|
{ "pattern": "www.recoder.xyz/*", "zone_name": "recoder.xyz" },
|
|
{ "pattern": "ereboslab.com/*", "zone_name": "ereboslab.com" },
|
|
{ "pattern": "www.ereboslab.com/*", "zone_name": "ereboslab.com" },
|
|
// ritgram.rithub.dev only (2026-11-17): the app repo (apps/ritgram) was claimed by
|
|
// a parallel session this round, so the tag goes in at the edge instead of its own
|
|
// layout, per the "wire it, don't touch the claimed repo" instruction. rithub.dev
|
|
// itself is NOT routed here -- it already ships its own self-serve tag directly in
|
|
// the Gitea templates (git.ereboslab.com's `s_FLXojc0pSLRIIJ6ndYp0p-li` key, carried
|
|
// over by the rithub.dev domain cutover), so adding it here would just be skipped by
|
|
// the injector's own already-has-the-tag check.
|
|
{ "pattern": "ritgram.rithub.dev/*", "zone_name": "rithub.dev" }
|
|
],
|
|
"vars": {
|
|
// kamiko.fun / www.kamiko.fun deliberately NOT a key here (2026-11-07): the owner wants
|
|
// zero trace of Erebos Lab or any sibling product anywhere in kamiko.fun's served HTML.
|
|
// This shared tag injector used to carry a "kamiko.fun" -> "s_YbhgJpW_L935UqxRnAQ1qj5d"
|
|
// entry that put a literal `src="https://insights.ereboslab.com/s.js"` tag on every page —
|
|
// trivially deanonymizing the product to anyone who viewed source. Fixed live via the
|
|
// Cloudflare API (script settings PUT, same byte-for-byte index.js, SITE_KEYS binding only)
|
|
// and backported here so the next source-driven deploy of this Worker does not regress it.
|
|
// If kamiko.fun ever needs its own analytics again, it must be a kamiko.fun-branded origin
|
|
// (e.g. a stats.kamiko.fun CNAME), never this shared ereboslab.com-branded collector.
|
|
"SITE_KEYS": "{\"mail.scribase.com\":\"ry_site_scribase_mail_7e3c28c34586\",\"scribase.com\":\"ry_site_scribase_8831be787dd5\",\"docs.scribase.com\":\"ry_site_scribase_8831be787dd5\",\"www.scribase.com\":\"ry_site_scribase_8831be787dd5\",\"menivor.com\":\"ry_site_menivor_89f8a6785e1a\",\"www.menivor.com\":\"ry_site_menivor_89f8a6785e1a\",\"yokharita.com\":\"ry_site_yokharita_782a2c9d25ed\",\"www.yokharita.com\":\"ry_site_yokharita_782a2c9d25ed\",\"oxhanatelier.com\":\"ry_site_oxhan_4684b714b573\",\"www.oxhanatelier.com\":\"ry_site_oxhan_4684b714b573\",\"share.vcpeer.com\":\"ry_site_vcpeer_send_80cdc14ff6bc\",\"bidstage.app\":\"s_9fUFT4XzyF35rWluPvCFX3ue\",\"www.bidstage.app\":\"s_9fUFT4XzyF35rWluPvCFX3ue\",\"lawsynth.dev\":\"s_KikD-u8U7y663_j53pTj1FQY\",\"www.lawsynth.dev\":\"s_KikD-u8U7y663_j53pTj1FQY\",\"mad-projects.com\":\"s_DSgfCBfy_oqJxupktQ8lEHOR\",\"www.mad-projects.com\":\"s_DSgfCBfy_oqJxupktQ8lEHOR\",\"recoder.xyz\":\"s_JFFqZxf907XcvJNIcTuwQ3jH\",\"www.recoder.xyz\":\"s_JFFqZxf907XcvJNIcTuwQ3jH\",\"ereboslab.com\":\"s_nkbvi_kfnOOArJGj7fCnWsK-\",\"www.ereboslab.com\":\"s_nkbvi_kfnOOArJGj7fCnWsK-\",\"ritgram.rithub.dev\":\"ry_site_ritgram_478d21ff41dc\"}"
|
|
}
|
|
}
|