Skip to content

Commit

Permalink
升级 axios
Browse files Browse the repository at this point in the history
  • Loading branch information
bjdgyc committed Feb 21, 2024
1 parent 70f3e43 commit 6514657
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/base/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion server/conf/server-sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ profile = "./conf/profile.xml"
#log_path = "./log"
log_path = ""
log_level = "debug"
pprof = false
pprof = true

#系统名称
issuer = "XX公司VPN"
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6514657

Please sign in to comment.