mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-01 02:59:24 +02:00
Fix: add v1 to navigation fallback denylist
This is required for the Stripe redirection flow
This commit is contained in:
parent
000a3e005c
commit
8211b4cc24
2 changed files with 7 additions and 4 deletions
server
|
@ -77,6 +77,8 @@ 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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue