Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Changed vars and some titles #11

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

Conversation

bmann
Copy link
Member

@bmann bmann commented Dec 9, 2019

Main change is to use the correct default Heroku variable names (and removed REACT_APP_ from in front of elsewhere that I found it), added some names / titles in a couple of spots,

@@ -20,7 +20,7 @@
"typescript": "3.7.2"
},
"scripts": {
"start": "react-scripts start",
"start": "HOST=0.0.0.0 react-scripts start",
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this necessary? seems to start fine on localhost for me

Copy link
Collaborator

Choose a reason for hiding this comment

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

ah just saw your other issue. disregard :)

export const ipfsProvider = process.env.REACT_APP_INTERPLANETARY_FISSION_URL || 'https://hostless.dev';
const username = process.env.REACT_APP_INTERPLANETARY_FISSION_USERNAME;
const password = process.env.REACT_APP_INTERPLANETARY_FISSION_PASSWORD;
export const ipfsProvider = process.env.INTERPLANETARY_FISSION_URL || 'https://runfission.com';
Copy link
Collaborator

Choose a reason for hiding this comment

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

the REACT_APP_ here is actually intentional. Otherwise react can't find the env variables: #12 (comment)

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok. But in Heroku, from our add-on, it is without REACT_APP. Does it just do this automatically?

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.

2 participants