Can get NW filter source XML definition

This commit is contained in:
2024-01-02 15:52:04 +01:00
parent b4f65a6703
commit 06ddf57b5c
4 changed files with 35 additions and 0 deletions

View File

@ -252,6 +252,10 @@ async fn main() -> std::io::Result<()> {
"/api/nwfilter/{uid}",
web::get().to(nwfilter_controller::get_single),
)
.route(
"/api/nwfilter/{uid}/src",
web::get().to(nwfilter_controller::single_src),
)
.route(
"/api/nwfilter/{uid}",
web::put().to(nwfilter_controller::update),