v0.42.0
This commit is contained in:
1 parent
6df256cdbb
commit
0d6249e383
159 files changed
+16737
-1971
No files matched your search
@@ -93,6 +93,7 @@ fn admin_app_javascript() -> &'static str {
|
||||
include_str!("web/integrations.js"),
|
||||
include_str!("web/acl-picker.js"),
|
||||
include_str!("web/cache-rules.js"),
|
||||
include_str!("web/policy.js"),
|
||||
admin_vhosts_javascript(),
|
||||
include_str!("web/web-server-profiles.js"),
|
||||
include_str!("web/web-server.js"),
|
||||
@@ -270,6 +271,15 @@ pub fn router(state: Arc<App>) -> Router {
|
||||
"/api/cache/rules/import-vcl",
|
||||
post(cache_rules_import_vcl).layer(DefaultBodyLimit::max(300 * 1024)),
|
||||
)
|
||||
.route(
|
||||
"/api/policy/import-haproxy",
|
||||
post(policy_import_haproxy).layer(DefaultBodyLimit::max(300 * 1024)),
|
||||
)
|
||||
.route(
|
||||
"/api/policy/test",
|
||||
post(policy_test).layer(DefaultBodyLimit::max(300 * 1024)),
|
||||
)
|
||||
.route("/api/policy/stats", get(policy_stats))
|
||||
.route("/api/cache/bans/{id}", delete(cache_ban_delete))
|
||||
.route("/api/tunnels", get(active_tunnels))
|
||||
.route(
|
||||
|
||||
Reference in new issue
Block a user