aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/i18n.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-12-06 18:38:53 +0800
committercrupest <crupest@outlook.com>2021-12-06 18:38:53 +0800
commitde0c85ca334d06f042e685b8263a3261b8f8b055 (patch)
tree160fa54646c4973ca46d2092f8a459f8a8fd0b04 /FrontEnd/src/i18n.ts
parent4aa82fbbb310269981706aea68638502a3149bbc (diff)
downloadtimeline-de0c85ca334d06f042e685b8263a3261b8f8b055.tar.gz
timeline-de0c85ca334d06f042e685b8263a3261b8f8b055.tar.bz2
timeline-de0c85ca334d06f042e685b8263a3261b8f8b055.zip
...
Diffstat (limited to 'FrontEnd/src/i18n.ts')
-rw-r--r--FrontEnd/src/i18n.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/src/i18n.ts b/FrontEnd/src/i18n.ts
index 8caf51ec..5f71c7ea 100644
--- a/FrontEnd/src/i18n.ts
+++ b/FrontEnd/src/i18n.ts
@@ -51,7 +51,7 @@ export const i18nPromise = i18n
fallbackLng: false,
lowerCaseLng: true,
- debug: process.env.NODE_ENV === "development",
+ debug: import.meta.env.DEV,
interpolation: {
escapeValue: false, // not needed for react!!