mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
feat: refresh cookie every day to keep user logged in
This commit is contained in:
parent
780b429fa9
commit
7d456f7460
5 changed files with 26 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ export function loginWithEmail(params) {
|
|||
});
|
||||
}
|
||||
|
||||
export function loginRefresh() {
|
||||
export function refreshCookie() {
|
||||
return request({
|
||||
url: "/login/refresh",
|
||||
method: "post",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue