Can delete network filter

This commit is contained in:
2024-01-02 15:45:31 +01:00
parent d741e12653
commit b4f65a6703
4 changed files with 41 additions and 1 deletions

View File

@ -256,6 +256,10 @@ async fn main() -> std::io::Result<()> {
"/api/nwfilter/{uid}",
web::put().to(nwfilter_controller::update),
)
.route(
"/api/nwfilter/{uid}",
web::delete().to(nwfilter_controller::delete),
)
// Static assets
.route("/", web::get().to(static_controller::root_index))
.route(