1
0
Fork 0
This commit is contained in:
Korbs 2024-06-21 05:18:06 -04:00
parent e4faaab288
commit a8cb29e6bb
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,12 @@
---
import { changeLanguage } from "i18next";
changeLanguage("en");
Astro.cookies.set("Language", "EN", {
path: "/",
sameSite: 'strict'
});
return Astro.redirect("/");
---
<style is:global>body {background: black}</style>

View file

@ -0,0 +1,12 @@
---
import { changeLanguage } from "i18next";
changeLanguage("jp");
Astro.cookies.set("Language", "JP", {
path: "/",
sameSite: 'strict'
});
return Astro.redirect("/");
---
<style is:global>body {background: black}</style>