Skip to content

Commit 423053f

Browse files
author
Taois
committed
feat:增加全能播放代理
1 parent c4cc17c commit 423053f

File tree

2 files changed

+814
-0
lines changed

2 files changed

+814
-0
lines changed

controllers/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ import ftpProxyController from './ftp-proxy.js';
4343
// 文件代理控制器
4444
import fileProxyController from './file-proxy.js';
4545
import m3u8ProxyController from './m3u8-proxy.js';
46+
import unifiedProxyController from './unified-proxy.js';
4647

4748
/**
4849
* 注册所有路由控制器
@@ -90,4 +91,6 @@ export const registerRoutes = (fastify, options) => {
9091
// 注册文件代理路由
9192
fastify.register(fileProxyController, options);
9293
fastify.register(m3u8ProxyController, options);
94+
// 注册统一代理路由
95+
fastify.register(unifiedProxyController, options);
9396
};

0 commit comments

Comments
 (0)