feat: add termial inject env

This commit is contained in:
engigu
2026-02-07 10:17:20 +08:00
parent 5190b2390c
commit 7851afd13a
2 changed files with 34 additions and 8 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func RegisterControllers() *Controllers {
File: controllers.NewFileController(constant.ScriptsWorkDir),
Dashboard: controllers.NewDashboardController(cronService, executorService),
Log: controllers.NewLogController(),
Terminal: controllers.NewTerminalController(),
Terminal: controllers.NewTerminalController(envService),
Settings: controllers.NewSettingsController(userService, loginLogService, executorService),
Dependency: controllers.NewDependencyController(),
Agent: controllers.NewAgentController(),