Skip to content

Commit e6a4702

Browse files
committedJan 1, 2025··
fix import
1 parent b0e1caa commit e6a4702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎web/lighthouserc.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line @typescript-eslint/no-require-imports
2-
const { Languages } = require("@dzcode.io/models/dist/language");
2+
const { LANGUAGES } = require("@dzcode.io/models/dist/language");
33

44
const baseUrl = process.env.LH_TEST_BASE_URL;
55
const serverBaseUrl = process.env.LH_SERVER_BASE_URL;
@@ -20,7 +20,7 @@ module.exports = {
2020
collect: {
2121
url: urls.reduce((acc, path) => {
2222
return acc.concat(
23-
Languages.map(({ code }) => `${baseUrl}${code === "en" ? "" : `/${code}`}${path}`),
23+
LANGUAGES.map(({ code }) => `${baseUrl}${code === "en" ? "" : `/${code}`}${path}`),
2424
);
2525
}, []),
2626
},

0 commit comments

Comments
 (0)
Please sign in to comment.