mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 10:58:07 +03:00
Merge branch 'hotfix/v2.0.20'
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tachi-server",
|
||||
"version": "2.0.19",
|
||||
"version": "2.0.20",
|
||||
"description": "A score tracking server.",
|
||||
"main": "js/index.js",
|
||||
"private": true,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
const MAJOR = 2;
|
||||
const MINOR = 0;
|
||||
const PATCH = 19;
|
||||
const PATCH = 20;
|
||||
|
||||
// As is with all front-facing zkldi projects, the version names for tachi-server
|
||||
// are from an album I like. In this case, the album is Portishead - Dummy.
|
||||
|
||||
@@ -37,7 +37,7 @@ const userSessionMiddleware = expressSession({
|
||||
saveUninitialized: false,
|
||||
cookie: {
|
||||
secure: Environment.nodeEnv === "production" || ServerConfig.ENABLE_SERVER_HTTPS,
|
||||
sameSite: "lax", // Very important. Without this, we're vulnerable to CSRF!
|
||||
sameSite: "strict", // Very important. Without this, we're vulnerable to CSRF!
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user