Skip to content

Fix: do not precache index.html - #160

Merged
daveisadork merged 1 commit into
daveisadork:mainfrom
DJLax5:fix/auth-expired-reload
Nov 12, 2026
Merged

daveisadork merged 1 commit into
daveisadork:mainfrom
DJLax5:fix/auth-expired-reload

Conversation

@DJLax5

@DJLax5 DJLax5 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

As per our discussion #159 I have removed the .html files from the cache. This way, an auth-layer in front is triggered, when loading the webservice.

The service worker served the precached index.html on every page load.
An auth proxy in front of the server never saw the navigation, so an
expired login did not show the login page. The client only showed a
failed WebSocket. The page load now goes to the network. The hashed
assets stay precached.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DJLax5
DJLax5 requested a review from daveisadork as a code owner November 11, 2026 20:35
@daveisadork
daveisadork enabled auto-merge (squash) November 11, 2026 21:29
auto-merge was automatically disabled November 12, 2026 08:20

Pull request was closed

@daveisadork daveisadork reopened this Nov 12, 2026
@daveisadork
daveisadork enabled auto-merge (squash) November 12, 2026 08:21
@daveisadork
daveisadork merged commit 703af4e into daveisadork:main Nov 12, 2026
1 check passed
@DJLax5
DJLax5 deleted the fix/auth-expired-reload branch November 12, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants