Pls don't blind me, aaaa

This commit is contained in:
Crimekillz 2024-04-06 03:37:29 +02:00
parent 2f27250bc8
commit 8b2ddada69
3 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,8 @@
#───┘ URL └─────────────────────────────────────────────────────
# Final accessible URL seen by a user.
# If your public accessible URL is on non-default different port, please add the port to the URL like this:
# https://example.org:8443/
url: https://example.org/
# (Optional - ADVANCED) Domain used for account handles.

View File

@ -7,7 +7,9 @@
# ┌─────┐
#───┘ URL └─────────────────────────────────────────────────────
# Final accessible URL seen by a user.
# Final accessible URL seen by a user.
# If your public accessible URL is on non-default different port, please add the port to the URL like this:
# https://example.org:8443/
url: https://example.org/
# (Optional - ADVANCED) Domain used for account handles.

View File

@ -28,7 +28,7 @@ globalThis.addEventListener("activate", (ev) => {
});
function offlineContentHTML(): string {
return `<!doctype html>TrashPoss @${_VERSION_} is currently offline. Retrying in 5 seconds... <button onclick="location.reload()">Reload manually</button>`;
return `<!doctype html><head><title>TrashPoss</title><style type="text/css">body, button { background-color: #3B364C; color: white; }</style></head><body>TrashPoss @${_VERSION_} is currently offline. Retrying in 5 seconds... <button onclick="location.reload()">Reload manually</button>`;
}
globalThis.addEventListener("fetch", (ev) => {