瀏覽代碼

优化代码

niujiuru 3 周之前
父節點
當前提交
82b4e59f10
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      web-ui.service/main.go

+ 3 - 0
web-ui.service/main.go

@@ -49,6 +49,9 @@ func (p *program) Stop(s service.Service) error {
 }
 
 func main() {
+	baseapp.SetOptDirs(false, false, false, false)
+	baseapp.InitPath()
+
 	svcFlag := flag.String("service", "", "Control the yfkj-webui service.")
 	flag.Parse()