change e2e to use node module

This commit is contained in:
wancat committed 2024-02-08 17:40:01 +08:00
1 parent f797f4d897
commit c06d6d6deb
8 files changed
+29 -13

No files matched your search

+5
View File
@@ -4,6 +4,9 @@ import { get } from './utils/env.js'
// Import dotenv and load ../.env
dotenv.config({ path: '../.env' })
if (process.env.NODE_ENV !== 'production') {
dotenv.config({ path: '../.env.dev' })
}
function getTrustProxies(key) {
if (!process.env[key]) {
@@ -68,4 +71,6 @@ export function getQuestImage(id) {
return `${config.docker.imagePrefix}${id}`
}
console.log(config)
export default config