feat: Basic domain creation form
This commit is contained in:
parent
ae5d466e99
commit
78df25f150
3 changed files with 31 additions and 4 deletions
|
|
@ -101,7 +101,7 @@ pub async fn http_listen<D: DatabaseInterface>(listener: Listener, db: Database<
|
|||
.route("/login", post(login::post_login))
|
||||
.route("/logout", get(logout::logout))
|
||||
.route("/domain/{domain}", get(domain::get_domain))
|
||||
//.route("/domain", post(domain::create_domain))
|
||||
.route("/domain", post(domain::create_domain))
|
||||
.with_state(HttpState::new(db));
|
||||
|
||||
axum::serve(listener, app).await.unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue