chore: drop asuracomic.net from the userscript, CORS allowlist and docs (#96)
The old domain's deep links 301 to the asurascans.com root, discarding the path, so a page on it never yields a series document and a stored address on it never yields a series page. #94 pinned each Site to one hostname, which already rejects such an address server-side; this removes the remaining references so nothing invites a Reader onto the dead host. Live deploys still carry the origin in their own .env and must drop it there too - the allowlist is read from the environment, not from these defaults.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ OWNER_DISCORD_ID=changeme-your-discord-user-id
|
||||
# Comma-separated origins allowed to call the API (CORS). Both Asura domains
|
||||
# plus Demonic, Comix, Kagane, and the two novel sites. Add/remove as the
|
||||
# sites' hostnames change.
|
||||
ALLOWED_ORIGINS=https://asuracomic.net,https://asurascans.com,https://demonicscans.org,https://comix.to,https://kagane.to,https://novelfull.com,https://lightnovelworld.net
|
||||
ALLOWED_ORIGINS=https://asurascans.com,https://demonicscans.org,https://comix.to,https://kagane.to,https://novelfull.com,https://lightnovelworld.net
|
||||
|
||||
# Password for the bundled Postgres container, and therefore half of the
|
||||
# DATABASE_URL compose builds for the backend. Generate one:
|
||||
|
||||
Reference in New Issue
Block a user