Remove hyphens
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* app.js – Lagomare Gates frontend */
|
||||
/* app.js - Lagomare Gates frontend */
|
||||
|
||||
// ── Token helpers ─────────────────────────────────────────────────────────────
|
||||
const TOKEN_KEY = "lg_keypass_token";
|
||||
@@ -28,7 +28,7 @@ async function apiFetch(method, path, body) {
|
||||
if (res.status === 401) {
|
||||
clearToken();
|
||||
showLogin();
|
||||
throw new Error("Session expired – please log in again.");
|
||||
throw new Error("Session expired - please log in again.");
|
||||
}
|
||||
if (!res.ok) {
|
||||
const json = await res.json().catch(() => null);
|
||||
|
||||
Reference in New Issue
Block a user