srs-api: allowlist both docs origins for /api/stats CORS

This commit is contained in:
Prad Nukala
2026-08-24 19:12:11 -04:00
parent 7213cc1c8a
commit ab5c251952
2 changed files with 7 additions and 3 deletions
+1 -2
View File
@@ -32,9 +32,8 @@
"REPO": "prdlk/leetcode",
"FROM_EMAIL": "srs@prdlk.com",
"TO_EMAIL": "prnk28@gmail.com",
"DOCS_ORIGIN": "https://prdlk.github.io",
"DOCS_URL": "https://prdlk.github.io/leetcode",
// Filled in after first deploy; used for one-tap links in the digest.
"DOCS_ORIGIN": "https://prdlk.github.io,https://lc.prad.nu",
"PUBLIC_URL": "https://srs-api.prdlk.workers.dev"
}