Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit 9e380f7

Browse files
committed
use nullish coalescing or
1 parent 90aff51 commit 9e380f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default defineNuxtConfig({
5353
},
5454
i18n: {
5555
baseUrl: process.env.BASE_URL,
56-
strategy: (process.env.I18N_STRATEGY || 'prefix_except_default') as 'no_prefix' | 'prefix_except_default' | 'prefix' | 'prefix_and_default',
56+
strategy: (process.env.I18N_STRATEGY ?? 'prefix_except_default') as 'no_prefix' | 'prefix_except_default' | 'prefix' | 'prefix_and_default',
5757
vueI18n: './i18n.config.ts',
5858
locales: [
5959
{ code: 'en', language: 'en-US', file: { path: 'en.json', cache: false }, name: 'English' },

0 commit comments

Comments
 (0)