mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
feat(legal): serve Terms of Service and Privacy Policy pages
Add bilingual (zh/en) /terms and /privacy pages served by the Worker for configuring the Discord application's Terms of Service and Privacy Policy URLs. Contact line is configurable via optional LEGAL_CONTACT env var.
This commit is contained in:
parent
fcf3413634
commit
225d5b015e
3 changed files with 250 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ export interface Env {
|
|||
BASE_URL?: string;
|
||||
ADMIN_USER_IDS?: string;
|
||||
DISCORD_GATEWAY_ENABLED?: string;
|
||||
LEGAL_CONTACT?: string;
|
||||
ASSETS?: Fetcher;
|
||||
KV: KVNamespace;
|
||||
DISCORD_GATEWAY: DurableObjectNamespace;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue