Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Convert Heroku environment variable to a proper boolean value before … #230

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

coreybutler
Copy link

Forces the WIKIJS_HEROKU environment variable into a boolean state. Resolves #229.

@AsierRF
Copy link

AsierRF commented Aug 2, 2019

Hello,

I was reviewing your changes and I saw that originally the code said:

if (process.env.WIKI_JS_HEROKU) {

However your changes use the following name for the env. variable:
process.env.WIKIJS_HEROKU

The env. variable name is different: underscore (_) missing after WIKI.

Just wanted to verify that this is not a typo ;)

@coreybutler
Copy link
Author

Good catch - that was a typo. Pretty sure I copied it out of the wrong container (I was working in two). Will update as soon as I get back to my computer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Container Fails to Start
2 participants