Fix: eliminate auth screen flash by hiding it synchronously in <head> before render
This commit is contained in:
parent
393cb3f1e0
commit
12189a0101
2 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue