switch from il8next-node-fs-backend to il8next-fs-backend
This commit is contained in:
parent
24ec642d49
commit
d8ba3e16ee
BIN
package-lock.json
generated
BIN
package-lock.json
generated
Binary file not shown.
@ -85,8 +85,8 @@
|
|||||||
"file-type": "~16.5.4",
|
"file-type": "~16.5.4",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
"i18next": "^21.10.0",
|
"i18next": "^21.10.0",
|
||||||
|
"i18next-fs-backend": "^2.1.5",
|
||||||
"i18next-http-middleware": "^3.3.2",
|
"i18next-http-middleware": "^3.3.2",
|
||||||
"i18next-node-fs-backend": "^2.1.3",
|
|
||||||
"image-size": "^1.0.2",
|
"image-size": "^1.0.2",
|
||||||
"json-bigint": "^1.0.0",
|
"json-bigint": "^1.0.0",
|
||||||
"jsonwebtoken": "^8.5.1",
|
"jsonwebtoken": "^8.5.1",
|
||||||
|
|||||||
@ -20,7 +20,7 @@ import fs from "fs";
|
|||||||
import path from "path";
|
import path from "path";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
import i18nextMiddleware from "i18next-http-middleware";
|
import i18nextMiddleware from "i18next-http-middleware";
|
||||||
import i18nextBackend from "i18next-node-fs-backend";
|
import i18nextBackend from "i18next-fs-backend";
|
||||||
import { Router } from "express";
|
import { Router } from "express";
|
||||||
|
|
||||||
const ASSET_FOLDER_PATH = path.join(__dirname, "..", "..", "..", "assets");
|
const ASSET_FOLDER_PATH = path.join(__dirname, "..", "..", "..", "assets");
|
||||||
|
|||||||
Reference in New Issue
Block a user