mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 02:35:06 +08:00
docs: use 302 redirect for language redirects
This commit is contained in:
parent
f3dd00b0e5
commit
907cb57b9e
@ -76,7 +76,7 @@ async function handleEvent(event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
response = new Response("Redirecting", {
|
response = new Response("Redirecting", {
|
||||||
status: 301,
|
status: 302,
|
||||||
headers: {
|
headers: {
|
||||||
Location: destination,
|
Location: destination,
|
||||||
Vary: 'Accept-Language',
|
Vary: 'Accept-Language',
|
||||||
|
Loading…
Reference in New Issue
Block a user