diff --git a/package.json b/package.json index 3b53b75..8929e9b 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ }, "scripts": { "start": "react-scripts start", + "start-fake": "REACT_APP_FAKE_API=1 react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" diff --git a/src/index.js b/src/index.js index dbf9a3c..458c155 100644 --- a/src/index.js +++ b/src/index.js @@ -7,9 +7,11 @@ import Full from './containers/Full' const history = createBrowserHistory(); +console.log(process.env.PUBLIC_URL); + ReactDOM.render( ( - +