2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 01:27:18 +08:00

fix: 使用短期证书配置

This commit is contained in:
2026-01-08 19:28:06 +08:00
parent 5e3ec29076
commit 2099d2ca57
6 changed files with 63 additions and 11 deletions

View File

@@ -29,12 +29,14 @@ export function createAppInstallGuard(router: Router) {
// 网站
if (to.path.startsWith('/website')) {
await useRequest(app.isInstalled('nginx')).onSuccess(({ data }) => {
if (!data) {
showErrorMessage(`Web 服务器未安装`)
return router.push({ name: 'app-index' })
await useRequest(app.isInstalled('nginx,openresty,apache,openlitespeed,caddy')).onSuccess(
({ data }) => {
if (!data) {
showErrorMessage(`Web 服务器未安装`)
return router.push({ name: 'app-index' })
}
}
})
)
}
// 容器