SeeOther instead of TemporaryRedirect

This commit is contained in:
2021-02-05 19:57:37 +01:00
parent 051d55a936
commit b7f7c429de
+1 -1
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,