增加tv mode开关
This commit is contained in:
@@ -36,6 +36,7 @@ export async function GET(request: NextRequest) {
|
||||
SiteName: process.env.NEXT_PUBLIC_SITE_NAME || 'MoonTVPlus',
|
||||
StorageType: 'localstorage',
|
||||
Version: CURRENT_VERSION,
|
||||
TVModeEnabled: process.env.ENABLE_TV_MODE !== 'false',
|
||||
WatchRoom: watchRoomConfig,
|
||||
EnableOfflineDownload: process.env.NEXT_PUBLIC_ENABLE_OFFLINE_DOWNLOAD === 'true',
|
||||
DanmakuAutoLoadDefault: true,
|
||||
@@ -48,6 +49,7 @@ export async function GET(request: NextRequest) {
|
||||
SiteName: config.SiteConfig.SiteName,
|
||||
StorageType: storageType,
|
||||
Version: CURRENT_VERSION,
|
||||
TVModeEnabled: process.env.ENABLE_TV_MODE !== 'false',
|
||||
WatchRoom: watchRoomConfig,
|
||||
EnableOfflineDownload: process.env.NEXT_PUBLIC_ENABLE_OFFLINE_DOWNLOAD === 'true',
|
||||
EnableRegistration: config.SiteConfig.EnableRegistration || false,
|
||||
|
||||
Reference in New Issue
Block a user