diff --git a/front/app/translations+api.ts b/front/app/translations+api.ts index c33b4273..797b3668 100644 --- a/front/app/translations+api.ts +++ b/front/app/translations+api.ts @@ -1,4 +1,4 @@ -import { supportedLanguages } from "~/providers/translations.web.ssr"; +import { supportedLanguages } from "~/providers/translations.compile"; export default (): Response => { return Response.json(supportedLanguages); diff --git a/front/vite.config.ts b/front/vite.config.ts index 9d2945ad..181229f4 100644 --- a/front/vite.config.ts +++ b/front/vite.config.ts @@ -20,6 +20,9 @@ export default { }, plugins: [ one({ + web: { + defaultRenderMode: "ssr", + }, deps: { "@expo/html-elements": { "**/*.js": ["jsx"],