Can create a movement
This commit is contained in:
@ -129,6 +129,8 @@ async fn main() -> std::io::Result<()> {
|
||||
"/api/file/{file_id}",
|
||||
web::delete().to(files_controller::delete),
|
||||
)
|
||||
// Movement controller
|
||||
.route("/api/movement", web::post().to(movement_controller::create))
|
||||
// Static assets
|
||||
.route("/", web::get().to(static_controller::root_index))
|
||||
.route(
|
||||
|
Reference in New Issue
Block a user