fix: prioritize process.env over dotenv for CI builds
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Joris Slagter
2025-12-03 11:41:58 +01:00
parent 3387c39f1b
commit f6c6c1620c

View File

@@ -1,8 +1,14 @@
const env = require('dotenv').config();
const dotenv = require('dotenv').config();
// Merge dotenv values with process.env, preferring process.env
const envVars = {
...(dotenv.parsed || {}),
...process.env
};
export default {
ssr: false,
env: env.parsed,
env: envVars,
/*
** Headers of the page
*/