feat: Basic domain creation form

This commit is contained in:
selfhoster selfhoster 2026-09-19 10:51:23 +02:00
commit 78df25f150
3 changed files with 31 additions and 4 deletions

View file

@ -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();