使用flv

This commit is contained in:
test
2025-12-15 20:16:37 +08:00
parent bc2923ef0c
commit 435a4a1024
4 changed files with 16 additions and 7 deletions

2
app.js
View File

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