feat: als pwa installierbar
- Manifest 'LAN-Clipboard' / 'Clipboard', standalone, eigene Icons (auch maskable) - iOS: apple-touch-icon, Web-App-Metadaten, Statusleiste black-translucent - Service Worker (vite-plugin-pwa) cacht nur die App-Hülle, nie /api - Hinweis 'Neue Version verfügbar' mit Neu laden - Offline-Seite, wenn beim Start kein Server erreichbar ist - Icons per scripts/render-icons.sh aus SVG gerendert Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
998e86c84f
commit
0ad6d248cf
20 files changed
+5180
-6
No files matched your search
@@ -13,10 +13,10 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
async function fetchMe(): Promise<void> {
|
||||
try {
|
||||
user.value = await api.get<User>('/auth/me')
|
||||
loaded.value = true
|
||||
} catch (e) {
|
||||
if (!(e instanceof ApiError) || e.status !== 401) throw e
|
||||
if (!(e instanceof ApiError) || e.status !== 401) throw e // retry on next navigation
|
||||
user.value = null
|
||||
} finally {
|
||||
loaded.value = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user