mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 13:32:25 -05:00
[feature] Start adding advanced configuration options, starting with samesite (#628)
* fix incorrect port being used for db * start adding advanced config flags * use samesite lax by default
This commit is contained in:
parent
265b680098
commit
327d3f001f
11 changed files with 135 additions and 18 deletions
|
|
@ -114,6 +114,8 @@ type Configuration struct {
|
|||
AdminAccountEmail string `name:"email" usage:"the email address of this account"`
|
||||
AdminAccountPassword string `name:"password" usage:"the password to set for this account"`
|
||||
AdminTransPath string `name:"path" usage:"the path of the file to import from/export to"`
|
||||
|
||||
AdvancedCookiesSamesite string `name:"advanced-cookies-samesite" usage:"'strict' or 'lax', see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite"`
|
||||
}
|
||||
|
||||
// MarshalMap will marshal current Configuration into a map structure (useful for JSON).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue