Closed tecc closed 2 years ago
This change is mostly internal but does entail two user-facing change;
server
server.useSecureCookies
COOKIE_SECURE
baseUrl
server.baseUrl
Internal changes:
getEnv
getEnvRaw
parseBool
true
1
yes
on
false
0
no
off
This change is mostly internal but does entail two user-facing change;
server
.server.useSecureCookies
, which is the equivalent ofCOOKIE_SECURE
.baseUrl
has been moved toserver.baseUrl
. See config/compatibility.ymlInternal changes:
getEnv
, and marked the function as deprecated.getEnvRaw
is used to access the variables; it only gives you a string, and never anything else.parseBool
parses booleans from strings.true
,1
,yes
, andon
are treated astrue
whilstfalse
,0
,no
, andoff
are treated asfalse
.