From 10fa6782e6513408527fdf3cbbe765a62a8b61fd Mon Sep 17 00:00:00 2001 From: tech Date: Wed, 4 Mar 2026 23:27:42 +0800 Subject: [PATCH] feat: add APK_TABS environment variable for configurable tabs Co-Authored-By: Claude Opus 4.6 --- lib/constants.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/constants.ts b/lib/constants.ts index 3511772..f8aea34 100644 --- a/lib/constants.ts +++ b/lib/constants.ts @@ -6,3 +6,7 @@ export const AUTH_PASSWORD = process.env.AUTH_PASSWORD || 'changeme'; // Change export const COOKIE_NAME = 'auth'; export const COOKIE_MAX_AGE = 86400; // 24 hours export const AUTH_COOKIE_VALUE = 'ok'; +export const APK_TABS = (process.env.APK_TABS || 'dev,sandbox') + .split(',') + .map(t => t.trim()) + .filter(Boolean);