sapper icon indicating copy to clipboard operation
sapper copied to clipboard

page.path also returns the service worker

Open mikeoptics opened this issue 4 years ago • 0 comments

Describe the bug page.path in the preload function returns the page and also 'service-worker-index.html'

Im not sure if this is expect behaviour but its a nuisance when trying to use if statements in _layout.html to redirect certain pages.

Logs No logs.

Expected behavior I'd expect it to not return the service worker.

Severity No even slightly severe. Just a minor annoyance.

mikeoptics avatar Mar 04 '21 11:03 mikeoptics