mirror of
https://github.com/lyz05/danmaku.git
synced 2026-04-15 02:50:08 +08:00
fix: 修复OSS中没有headers,无法正常打开订阅页面的BUG
This commit is contained in:
@@ -12,6 +12,8 @@ function getscheme(req) {
|
||||
}
|
||||
|
||||
function getuserinfo(headers) {
|
||||
if (!headers)
|
||||
return undefined
|
||||
const str = headers["subscription-userinfo"]
|
||||
if (str === undefined) {
|
||||
return undefined
|
||||
|
||||
Reference in New Issue
Block a user