-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
lib-httpserver/domain/config/config.go
Line 19 in a2af61d
| //TODO: Do not forget about changing session name key |
// CORS
AllowedOrigins string `config:"HTTP_ALLOWED_ORIGINS" default:"*"`
// Encryption
TLS bool `config:"HTTP_TLS" default:"false"`
TLSCert string `config:"HTTP_TLS_CERT" default:""`
TLSKey string `config:"HTTP_TLS_KEY" default:""`
CookieSecret config.Secret `config:"HTTP_COOKIE_SECRET" default:""`
//TODO: Do not forget about changing session name key
CookieName string `config:"HTTP_COOKIE_STORE_NAME" default:"session_key_name_to_change_at_some_point"`
CookeMaxAge int `config:"HTTP_COOKIE_MAX_AGE" default:"604800"` // 7 days
}Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog