反向代理支持RequestPath、RequestURI等

This commit is contained in:
刘祥超
2020-09-27 10:03:00 +08:00
parent 1df4e3e8bf
commit d5fd7f5a63
20 changed files with 281 additions and 165 deletions

View File

@@ -14,10 +14,10 @@ func init() {
Data("mainTab", "setting").
Data("secondMenuItem", "reverseProxy").
Prefix("/servers/server/settings/reverseProxy").
GetPost("", new(IndexAction)).
Get("", new(IndexAction)).
GetPost("/scheduling", new(SchedulingAction)).
GetPost("/updateSchedulingPopup", new(UpdateSchedulingPopupAction)).
Post("/updateOn", new(UpdateOnAction)).
GetPost("/setting", new(SettingAction)).
EndAll()
})
}