1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-11 15:19:02 +02:00

Remove navigation fallback for all except app root

This commit is contained in:
nimbleghost 2023-06-19 21:45:55 +02:00
parent 8211b4cc24
commit 5f6d753cb7
2 changed files with 0 additions and 10 deletions
server

View file

@ -77,8 +77,6 @@ var (
authPathRegex = regexp.MustCompile(`^/[-_A-Za-z0-9]{1,64}(,[-_A-Za-z0-9]{1,64})*/auth$`)
publishPathRegex = regexp.MustCompile(`^/[-_A-Za-z0-9]{1,64}/(publish|send|trigger)$`)
// Note: new paths that should be viewable directly in the browser should be added to web/public/sw.js's navigation fallback denyList as well
webConfigPath = "/config.js"
webManifestPath = "/manifest.webmanifest"
webRootHTMLPath = "/app.html"