Skip to content

Commit

Permalink
fix locales path for offline builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MokaStitcher committed Oct 27, 2024
1 parent 06ad6c0 commit b922e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export async function initI18n(): Promise<void> {
} else {
fileName = camelCaseToKebabCase(ns);
}
return `/locales/${lng}/${fileName}.json?v=${pkg.version}`;
return `./locales/${lng}/${fileName}.json?v=${pkg.version}`;
},
},
defaultNS: "menu",
Expand Down

0 comments on commit b922e42

Please sign in to comment.