mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Various fixed
This commit is contained in:
@@ -184,6 +184,7 @@ export function authorization(): void {
|
||||
let cookie: Object = {};
|
||||
cook.split(';').forEach((x) => {
|
||||
let [ key, value ] = x.split('=')
|
||||
if(!value) return;
|
||||
key = key.trim()
|
||||
value = value.trim()
|
||||
Object.assign(cookie, { [key] : value })
|
||||
|
||||
Reference in New Issue
Block a user