mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
.
This commit is contained in:
@@ -151,7 +151,7 @@ export const handler: Handlers = {
|
||||
headers["Set-Cookie"] =
|
||||
`token=${token.token}; Expires=${token.expired.toUTCString()}${
|
||||
http_only ? "; HttpOnly" : ""
|
||||
}${secure ? "; Secure" : ""}; Path=/api`;
|
||||
}${secure ? "; SameSite=None; Secure" : ""}; Path=/api`;
|
||||
}
|
||||
return return_data(token, 201, headers);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user