We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a690f8d commit 0870f0bCopy full SHA for 0870f0b
src/i18n.ts
@@ -7,7 +7,7 @@ let currentLang: string = "en";
7
export async function loadLanguages(langs: string[], startLang: string) {
8
languages = langs;
9
for (const code of languages) {
10
- const response = await fetch(`/locales/${code}.json`, {
+ const response = await fetch(`locales/${code}.json`, {
11
cache: "no-cache",
12
});
13
strings[code] = await response.json();
vite.config.js
@@ -1,3 +1,4 @@
1
export default {
2
build: { sourcemap: true },
3
+ base: "",
4
};
0 commit comments