Merge pull request #315 from databasus/develop

FIX (env): Fix env detection over startup
This commit is contained in:
Rostislav Dugin
2026-01-28 11:33:06 +03:00
committed by GitHub
3 changed files with 7 additions and 3 deletions

View File

@@ -253,7 +253,7 @@ PG_BIN="/usr/lib/postgresql/17/bin"
# Generate runtime configuration for frontend
echo "Generating runtime configuration..."
cat > /app/ui/build/runtime-config.js << 'JSEOF'
cat > /app/ui/build/runtime-config.js <<JSEOF
// Runtime configuration injected at container startup
// This file is generated dynamically and should not be edited manually
window.__RUNTIME_CONFIG__ = {

View File

@@ -81,7 +81,9 @@ export function SignInComponent({ onSwitchToSignUp }: SignInComponentProps): JSX
<div className="w-full border-t border-gray-300"></div>
</div>
<div className="relative flex justify-center text-sm">
<span className="bg-white px-2 text-gray-500 dark:text-gray-400">or continue</span>
<span className="bg-white px-2 text-gray-500 dark:bg-gray-900 dark:text-gray-400">
or continue
</span>
</div>
</div>
)}

View File

@@ -112,7 +112,9 @@ export function SignUpComponent({ onSwitchToSignIn }: SignUpComponentProps): JSX
<div className="w-full border-t border-gray-300"></div>
</div>
<div className="relative flex justify-center text-sm">
<span className="bg-white px-2 text-gray-500 dark:text-gray-400">or continue</span>
<span className="bg-white px-2 text-gray-500 dark:bg-gray-900 dark:text-gray-400">
or continue
</span>
</div>
</div>
)}