mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-25 20:59:36 +01:00
Derp
This commit is contained in:
parent
a8def0aed2
commit
2d0c043dfd
1 changed files with 0 additions and 1 deletions
|
@ -34,7 +34,6 @@ func init() {
|
||||||
webPushAllowedEndpointsPatterns[i] = strings.ReplaceAll(strings.ReplaceAll(pattern, ".", "\\."), "*", ".+")
|
webPushAllowedEndpointsPatterns[i] = strings.ReplaceAll(strings.ReplaceAll(pattern, ".", "\\."), "*", ".+")
|
||||||
}
|
}
|
||||||
allPatterns := fmt.Sprintf("^(%s)", strings.Join(webPushAllowedEndpointsPatterns, "|"))
|
allPatterns := fmt.Sprintf("^(%s)", strings.Join(webPushAllowedEndpointsPatterns, "|"))
|
||||||
fmt.Println(allPatterns)
|
|
||||||
webPushAllowedEndpointsRegex = regexp.MustCompile(allPatterns)
|
webPushAllowedEndpointsRegex = regexp.MustCompile(allPatterns)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue