SeeOther instead of TemporaryRedirect

This commit is contained in:
Dietrich 2021-02-05 19:57:37 +01:00
parent 051d55a936
commit b7f7c429de
Signed by: dietrich
GPG Key ID: 9F3C20C0F85DF67C

View File

@ -35,7 +35,7 @@ fn establish_connection() -> Result<SqliteConnection, ServerError> {
}
fn redirect_builder(target: &str) -> HttpResponse {
HttpResponse::TemporaryRedirect()
HttpResponse::SeeOther()
.set(CacheControl(vec![
CacheDirective::NoCache,
CacheDirective::NoStore,