Add Capacitor Browser dependency and update safe area handling in components

This commit is contained in:
Mo Tarbin
2025-08-30 01:35:38 -04:00
parent e99a06654e
commit 4e31190291
11 changed files with 98 additions and 50 deletions

View File

@@ -67,7 +67,7 @@ export async function UploadFile(url, options) {
export async function Fetch(url, options) {
if (!isTokenValid()) {
Cookies.set('ca_redirect', window.location.pathname)
if (!window.location.pathname === '/login') {
if (window.location.pathname !== '/login') {
window.location.href = '/login'
}
}