Allow enabling sessions via SESSIONS env var
This commit is contained in:
parent
f3920afe8c
commit
73185940b6
@ -36,5 +36,9 @@ func ParseOptions() error {
|
||||
Opts.Url = os.Getenv("DATABASE_URL")
|
||||
}
|
||||
|
||||
if os.Getenv("SESSIONS") != "" {
|
||||
Opts.Sessions = true
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user