Email-code sign-in for admins only; Overview with a needs-attention list; Songs with search, playback, editing, approve/hide and bulk edit; Albums and Singers with merge; creator applications queue. Adds the admin views, functions and creator_applications table, a deploy-admin script and a how-to guide. The admin nginx config no longer caches unhashed JS and sends its security headers again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
555 B
Dart
11 lines
555 B
Dart
/// Build-time configuration: `--dart-define-from-file=../env.json` (same file as the app).
|
|
abstract final class Env {
|
|
static const supabaseUrl = String.fromEnvironment('SUPABASE_URL');
|
|
static const supabasePublishableKey = String.fromEnvironment('SUPABASE_PUBLISHABLE_KEY');
|
|
|
|
/// Public base URL of the audio bucket, e.g. https://app.nkbmusic.com/storage/v1/object/public/audio
|
|
static const mediaBaseUrl = String.fromEnvironment('MEDIA_BASE_URL');
|
|
|
|
static bool get isConfigured => supabaseUrl.isNotEmpty && supabasePublishableKey.isNotEmpty;
|
|
}
|