mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-22 07:31:23 +08:00
change router export mode
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ function randomString(pattern, length){
|
||||
|
||||
function completeCookie(cookie){
|
||||
let origin = (cookie || '').split(/;\s*/).map(element => (element.split('=')[0])), extra = []
|
||||
let now = (new Date).getTime()
|
||||
let now = Date.now()
|
||||
|
||||
if(!origin.includes('JSESSIONID-WYYY')){
|
||||
let expire = new Date(now + 1800000) //30 minutes
|
||||
|
||||
Reference in New Issue
Block a user