Use relative links

This commit is contained in:
Joscha 2024-05-06 23:06:34 +02:00
parent b73efa7b28
commit 9e18b8940f
5 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ async fn main() -> anyhow::Result<()> {
let app = Router::<()>::new()
.route("/", get(endpoints::index::get).post(endpoints::index::post))
.route("/tsg", get(endpoints::tsg::get).post(endpoints::tsg::post));
.route("/tsg/", get(endpoints::tsg::get).post(endpoints::tsg::post));
let listener = TcpListener::bind(args.addr).await?;
axum::serve(listener, app).await?;