updated message

This commit is contained in:
Miodec 2022-09-28 13:48:31 +02:00
parent 2920722315
commit 02b2ae0cde

View file

@ -14,11 +14,11 @@ try {
} catch (e) {
app = undefined;
Auth = undefined;
console.error(e);
console.error("Authentication failed to initialize", e);
const error = e as Error;
Notifications.addBanner(
"Offline mode" +
(window.location.hostname === "localhost" ? ":" + error.message : ""),
"Authentication failed to initialize" +
(window.location.hostname === "localhost" ? ": " + error.message : ""),
0,
undefined,
false