switch from il8next-node-fs-backend to il8next-fs-backend

This commit is contained in:
Madeline 2023-08-07 12:10:12 +10:00
parent 24ec642d49
commit d8ba3e16ee
No known key found for this signature in database
GPG Key ID: 80D25DA3BCB24281
3 changed files with 2 additions and 2 deletions

BIN
package-lock.json generated

Binary file not shown.

View File

@ -85,8 +85,8 @@
"file-type": "~16.5.4",
"form-data": "^4.0.0",
"i18next": "^21.10.0",
"i18next-fs-backend": "^2.1.5",
"i18next-http-middleware": "^3.3.2",
"i18next-node-fs-backend": "^2.1.3",
"image-size": "^1.0.2",
"json-bigint": "^1.0.0",
"jsonwebtoken": "^8.5.1",

View File

@ -20,7 +20,7 @@ import fs from "fs";
import path from "path";
import i18next from "i18next";
import i18nextMiddleware from "i18next-http-middleware";
import i18nextBackend from "i18next-node-fs-backend";
import i18nextBackend from "i18next-fs-backend";
import { Router } from "express";
const ASSET_FOLDER_PATH = path.join(__dirname, "..", "..", "..", "assets");