Add allowed domains list.

This commit is contained in:
2024-10-03 14:00:43 +01:00
parent e97d8e15ff
commit 2fbca0a88c
5 changed files with 302 additions and 67 deletions
+1
View File
@@ -24,6 +24,7 @@ type Config struct {
ForceHTTPS bool `json:"forceHTTPS"`
RateLimit int `json:"rateLimit"`
ExcludedURLs []string `json:"excludedURLs"`
AllowedUserDomains []string `json:"allowedUserDomains"`
}
func CreateConfig() *Config {