SeeOther instead of TemporaryRedirect
This commit is contained in:
parent
051d55a936
commit
b7f7c429de
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user