change router export mode

This commit is contained in:
Nzix
2018-09-30 20:45:10 +08:00
parent b03914bd1f
commit 08b5d5af27
104 changed files with 3430 additions and 1 deletions

View File

@ -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