Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
ZibanPirate committed Jan 1, 2025
1 parent b0e1caa commit e6a4702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/lighthouserc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// eslint-disable-next-line @typescript-eslint/no-require-imports
const { Languages } = require("@dzcode.io/models/dist/language");
const { LANGUAGES } = require("@dzcode.io/models/dist/language");

const baseUrl = process.env.LH_TEST_BASE_URL;
const serverBaseUrl = process.env.LH_SERVER_BASE_URL;
Expand All @@ -20,7 +20,7 @@ module.exports = {
collect: {
url: urls.reduce((acc, path) => {
return acc.concat(
Languages.map(({ code }) => `${baseUrl}${code === "en" ? "" : `/${code}`}${path}`),
LANGUAGES.map(({ code }) => `${baseUrl}${code === "en" ? "" : `/${code}`}${path}`),
);
}, []),
},
Expand Down

0 comments on commit e6a4702

Please sign in to comment.