mirror of
https://github.com/develop202/migu_video.git
synced 2025-12-18 07:44:50 +08:00
添加本地部署
This commit is contained in:
16
config.js
Normal file
16
config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
// 用户id
|
||||
const userId = process.env.muserId || ""
|
||||
// 用户token 可以使用网页登录获取
|
||||
const token = process.env.mtoken || ""
|
||||
// 本地运行端口号
|
||||
const port = process.env.mport || 1234
|
||||
// 访问地址,用于epg和节目访问。
|
||||
// 部署后访问地址是什么就填什么,默认只可本机使用
|
||||
const host = process.env.mhost || "http://localhost:1234"
|
||||
// 画质
|
||||
// 4蓝光(需要登录且账号有VIP)
|
||||
// 3高清
|
||||
// 2标清
|
||||
const rateType = process.env.mrateType || 3
|
||||
|
||||
export { userId, token, port, host, rateType }
|
||||
Reference in New Issue
Block a user