Skip to content

Commit

Permalink
fixed index redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
emallson committed Apr 27, 2020
1 parent fe124d7 commit 15e10b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot-rs/src/web/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type DbPool = r2d2::Pool<ConnectionManager<PgConnection>>;
#[get("/")]
async fn index() -> impl Responder {
HttpResponse::TemporaryRedirect()
.header("LOCATION", "/standings/")
.header("LOCATION", "/standings")
.finish()
}

Expand Down

0 comments on commit 15e10b4

Please sign in to comment.