移除旧版本渲染和新版本帮助

This commit is contained in:
Alcedo 2023-08-31 09:07:51 +08:00
parent 57416dcd03
commit 6330eeb399
116 changed files with 5 additions and 7613 deletions

View file

@ -585,15 +585,9 @@ export async function createServer() {
// 系统服务测试
server.post('/serverTest', async (request, reply) => {
let serverState = {
cache: false,
cache: false, //待移除
cloud: false
}
if (Config.cacheUrl) {
const checkCacheUrl = await fetch(Config.cacheUrl, { method: 'GET' })
if (checkCacheUrl.ok) {
serverState.cache = true
}
}
if (Config.cloudTranscode) {
const checkCheckCloud = await fetch(Config.cloudTranscode, { method: 'GET' })
if (checkCheckCloud.ok) {