Set Cookies to use the Secure Flag and default SameSite to None

This commit is contained in:
Victor Fernandes
2025-06-30 13:18:38 -04:00
parent f5b3bf81bc
commit 7ebc322479
3 changed files with 23 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ type Options struct {
StripBasePrefix bool
OpenGraph config.OpenGraph
ServeRobotsTXT bool
CookieSecure bool
}
func LoadPoliciesOrDefault(ctx context.Context, fname string, defaultDifficulty int) (*policy.ParsedConfig, error) {