Add option to exclude URLs from the authentication.

This commit is contained in:
2024-10-03 14:00:41 +01:00
parent 448392e9bd
commit 77ead9b8a1
5 changed files with 98 additions and 7 deletions
+1
View File
@@ -23,6 +23,7 @@ type Config struct {
SessionEncryptionKey string `json:"sessionEncryptionKey"`
ForceHTTPS bool `json:"forceHTTPS"`
RateLimit int `json:"rateLimit"`
ExcludedURLs []string `json:"excludedURLs"`
}
func CreateConfig() *Config {