mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-08-05 06:50:10 +00:00
feat: add Web Vault visibility switch
This commit is contained in:
@@ -6,6 +6,8 @@ export interface Env {
|
||||
ASSETS?: {
|
||||
fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
||||
};
|
||||
// Set to "1" to return 404 for the Web Vault while keeping client APIs available.
|
||||
HIDE_WEB_VAULT?: string;
|
||||
// Prefer R2 when available. Optional to support KV-only deployments.
|
||||
ATTACHMENTS?: R2Bucket;
|
||||
// Optional fallback for attachment/send file storage (no credit card required).
|
||||
|
||||
Reference in New Issue
Block a user