mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 01:02:12 +08:00
增加 web_base_url 配置, 用于配置 web 后台可置于代理子路径下
This commit is contained in:
1 parent
4b7b2f4c27
commit
383dbd1b7b
21 files changed
+124
-73
No files matched your search
@@ -145,7 +145,7 @@
|
||||
$("#add").on("click", function () {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/client/edit",
|
||||
url: "{{.web_base_url}}/client/edit",
|
||||
data: $("form").serializeArray(),
|
||||
success: function (res) {
|
||||
alert(res.msg)
|
||||
|
||||
Reference in new issue
Block a user