Update App.tsx
This commit is contained in:
3
App.tsx
3
App.tsx
@@ -1,4 +1,3 @@
|
||||
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { WizardState, Step, GeneratedContent } from './types';
|
||||
import StepContext from './components/StepContext';
|
||||
@@ -17,7 +16,7 @@ const AUTH_KEY = 'promptstory-auth-token';
|
||||
// --- PASSWORD CONFIGURATION ---
|
||||
const ENV_PASSWORD = getEnvVar('VITE_APP_PASSWORD');
|
||||
// Fallback Hardcoded Password (Safety net)
|
||||
const FALLBACK_PASS = 'Preorder$Disinfect6$Childlike$Unnamed';
|
||||
const FALLBACK_PASS = 'Preorder$Disinfect6$Childlike$Unnamed1';
|
||||
|
||||
// Decision Logic
|
||||
const APP_PASSWORD = ENV_PASSWORD || FALLBACK_PASS;
|
||||
|
||||
Reference in New Issue
Block a user