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

Added possibility to set HTTP_PORT with environmental variable #728

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

tubbadu
Copy link

@tubbadu tubbadu commented Nov 20, 2024

default value is still 8080, but if the env variable is set that one will be used

default value is still 8080, but if the env variable is set that one will be used
@CLAassistant
Copy link

CLAassistant commented Nov 20, 2024

CLA assistant check
All committers have signed the CLA.

@@ -4,7 +4,7 @@

const INDEX_CACHE = 7200;
const ASSETS_CACHE = 2629744;
const HTTP_PORT = 8080;
const HTTP_PORT = process.env.HTTP_PORT ? process.env.HTTP_PORT : 8080
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const HTTP_PORT = process.env.HTTP_PORT ? process.env.HTTP_PORT : 8080
const HTTP_PORT = process.env.HTTP_PORT ?? 8080

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

Successfully merging this pull request may close these issues.

3 participants