mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
http_private: change url format to /announce/:user_token/
This commit is contained in:
parent
c424ffb077
commit
4154cc3c2a
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ async fn run_app(
|
|||
.await?;
|
||||
|
||||
let app = Router::new()
|
||||
.route("/:user_token/announce/", get(routes::announce))
|
||||
.route("/announce/:user_token/", get(routes::announce))
|
||||
.layer(Extension(Arc::new(config)))
|
||||
.layer(Extension(pool))
|
||||
.layer(Extension(Arc::new(request_sender)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue