1.0.38
This commit is contained in:
177 files changed
+21182
-1042
No files matched your search
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Feature flags (opt-in, env-var gated).
|
||||
*
|
||||
* BETA GATE — REMOVE WHEN BACKUPS GOES GA.
|
||||
* The containers & stacks backup feature ships dark by default. Enable per
|
||||
* instance with FEAT_BACKUPS_ENABLED=true. Read once at boot.
|
||||
*
|
||||
* To remove the gate when backups is GA:
|
||||
* 1. Delete this file.
|
||||
* 2. Delete the backups gate block in src/hooks.server.ts.
|
||||
* 3. Drop `backupsEnabled` from src/routes/+layout.server.ts.
|
||||
* 4. Drop the `feature` field / filter on the backups item in app-sidebar.svelte.
|
||||
* 5. Drop the BACKUPS_ENABLED guards in src/lib/server/scheduler/index.ts.
|
||||
*/
|
||||
export const BACKUPS_ENABLED = process.env.FEAT_BACKUPS_ENABLED === 'true';
|
||||
Reference in new issue
Block a user