mirror of
https://github.com/develop202/migu_video.git
synced 2025-12-22 17:55:00 +08:00
使用flv
This commit is contained in:
2
app.js
2
app.js
@@ -214,7 +214,7 @@ const server = http.createServer(async (req, res) => {
|
||||
const location = obj.headers.get("Location")
|
||||
|
||||
if (location != "" && location != undefined && location != null) {
|
||||
if (location.startsWith("http://hlsz") || location.startsWith("http://mgsp") || location.startsWith("http://trial")) {
|
||||
if (!location.startsWith("http://bofang")) {
|
||||
resObj.url = location
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user