This commit is contained in:
Baobhan Sith
2025-04-26 15:20:37 +08:00
parent 93b8863fdd
commit e269f40754
80 changed files with 868 additions and 1528 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { DockerController } from './docker.controller';
import { isAuthenticated } from '../auth/auth.middleware';
const router = Router();
const dockerController = new DockerController(); // 同样,手动实例化
const dockerController = new DockerController();
// 应用认证中间件,确保只有登录用户才能访问 Docker 相关接口
router.use(isAuthenticated);