Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

express app does not load param supplied env file #258

Open
NiloCK opened this issue Aug 28, 2023 · 0 comments
Open

express app does not load param supplied env file #258

NiloCK opened this issue Aug 28, 2023 · 0 comments

Comments

@NiloCK
Copy link
Owner

NiloCK commented Aug 28, 2023

in env.ts, process.env is supposed to be loaded according to the supplied argument.

the existing service file does provide the arg:

ExecStart=/usr/bin/node /home/skuilder/api/express/src/app.js /home/skuilder/.env.production

... but the process in fact loads the default .env.development.local.

NiloCK added a commit that referenced this issue Sep 2, 2023
temporary workaround for #258
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant