Skip to content

Commit 30265e6

Browse files
committed
fix: i18n path
1 parent 67bc95f commit 30265e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ if (config.csp.enable) {
137137
i18n.configure({
138138
locales: ['en', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko', 'id', 'sr'],
139139
cookie: 'locale',
140-
directory: path.join(__dirname, '/locales'),
140+
directory: path.join(__dirname, '../locales'),
141141
updateFiles: config.updateI18nFiles
142142
})
143143

0 commit comments

Comments
 (0)