Fix: eliminate auth screen flash by hiding it synchronously in <head> before render

This commit is contained in:
Daniel Onyejesi 2026-03-22 00:36:20 -04:00
parent 393cb3f1e0
commit 12189a0101
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
services:
pediatric-scribe:
image: danielonyejesi/pediatric-ai-scribe-v3:v1.4
image: danielonyejesi/pediatric-ai-scribe-v3:v1.5
ports:
- "3552:3000"
env_file:

View file

@ -13,6 +13,8 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="PedScribe">
<link rel="apple-touch-icon" href="/icons/icon-192.png">
<script>if (localStorage.getItem('ped_scribe_token')) { document.documentElement.classList.add('has-session'); }</script>
<style>html.has-session #auth-screen { display: none !important; }</style>
</head>
<body>