don't cache random redirect
This commit is contained in:
parent
495b4ef527
commit
71a6690aab
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ async fn rand() -> impl web::Responder {
|
||||||
|
|
||||||
Response::PermanentRedirect()
|
Response::PermanentRedirect()
|
||||||
.header(header::LOCATION, rand_url)
|
.header(header::LOCATION, rand_url)
|
||||||
|
.header(header::CACHE_CONTROL, "no-store")
|
||||||
.take()
|
.take()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue