mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
change e2e to use node module
This commit is contained in:
1 parent
f797f4d897
commit
c06d6d6deb
8 files changed
+29
-13
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user