Skip to content

Commit

Permalink
fix: add translation assets to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
s00d committed Oct 17, 2024
1 parent 36549b4 commit fc5d3b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/runtime/server/middleware/i18n-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export default defineEventHandler(async (event) => {
const { rootDirs } = config.i18nConfig as ModulePrivateOptionsExtend
const { translationDir, fallbackLocale, customRegexMatcher, locales } = config.public.i18nConfig as ModuleOptionsExtend

console.log(555, translationDir)

if (customRegexMatcher && locales && !locales.map(l => l.code).includes(locale)) {
// return 404 if route not matching route
throw createError({
Expand Down

0 comments on commit fc5d3b0

Please sign in to comment.