Skip to content

Commit

Permalink
fixed locale path
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Dec 16, 2024
1 parent 381d627 commit 18d5123
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class SpecialErrorPage {
* catching it here and letting it bubble up to fail the playwright test in question.
*/
if (locale && locale.length === 2) {
const localeStrings = readFileSync(require.resolve(`../src/locales/${locale}/special-error.json`), 'utf8');
const localeStrings = readFileSync(require.resolve(`../public/locales/${locale}/special-error.json`), 'utf8');
initialSetup.localeStrings = localeStrings;
initialSetup.locale = locale;
}
Expand Down

0 comments on commit 18d5123

Please sign in to comment.