mirror of
https://github.com/ZSCGR/CloudFlare-ImgBed.git
synced 2026-08-18 06:33:43 +08:00
fix: remove Secure flag from session cookie for HTTP Docker compatibility
This commit is contained in:
@@ -200,6 +200,5 @@ function buildSessionCookie(name, token, maxAge) {
|
||||
`SameSite=Strict`,
|
||||
`Max-Age=${maxAge}`,
|
||||
];
|
||||
parts.push('Secure');
|
||||
return parts.join('; ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user