diff --git a/server/base/config.go b/server/base/config.go index 6d28ac1a..f384c6ca 100644 --- a/server/base/config.go +++ b/server/base/config.go @@ -35,7 +35,7 @@ var configs = []config{ {Typ: cfgStr, Name: "log_path", Usage: "日志文件路径,默认标准输出", ValStr: ""}, {Typ: cfgStr, Name: "log_level", Usage: "日志等级 [debug info warn error]", ValStr: "debug"}, {Typ: cfgBool, Name: "http_server_log", Usage: "开启go标准库http.Server的日志", ValBool: false}, - {Typ: cfgBool, Name: "pprof", Usage: "开启pprof", ValBool: false}, + {Typ: cfgBool, Name: "pprof", Usage: "开启pprof", ValBool: true}, {Typ: cfgStr, Name: "issuer", Usage: "系统名称", ValStr: "XX公司VPN"}, {Typ: cfgStr, Name: "admin_user", Usage: "管理用户名", ValStr: "admin"}, {Typ: cfgStr, Name: "admin_pass", Usage: "管理用户密码", ValStr: defaultPwd}, diff --git a/server/conf/server-sample.toml b/server/conf/server-sample.toml index 20f91d88..ac9feb8c 100644 --- a/server/conf/server-sample.toml +++ b/server/conf/server-sample.toml @@ -15,7 +15,7 @@ profile = "./conf/profile.xml" #log_path = "./log" log_path = "" log_level = "debug" -pprof = false +pprof = true #系统名称 issuer = "XX公司VPN" diff --git a/web/package.json b/web/package.json index 73983b48..c5f2f625 100644 --- a/web/package.json +++ b/web/package.json @@ -8,7 +8,7 @@ "lint": "vue-cli-service lint" }, "dependencies": { - "axios": "^0.21.1", + "axios": "^0.28.0", "core-js": "^3.6.5", "echarts": "^4.9.0", "element-ui": "^2.4.5",