feat(frontend): internationalization
This commit is contained in:
parent
2323810b06
commit
498d79de4e
16 changed files with 1092 additions and 167 deletions
11
Foxnouns.Frontend/app/routes/auth.log-out/route.tsx
Normal file
11
Foxnouns.Frontend/app/routes/auth.log-out/route.tsx
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { ActionFunction } from "@remix-run/node";
|
||||
import { writeCookie } from "~/lib/request.server";
|
||||
|
||||
export const action: ActionFunction = async () => {
|
||||
return new Response(null, {
|
||||
headers: {
|
||||
"Set-Cookie": writeCookie("pronounscc-token", "token", 0),
|
||||
},
|
||||
status: 204,
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue