static serving under path

master
Malar Kannan 2018-08-03 21:57:25 +05:30
parent dc9c0d5e59
commit b3358023f1
5 changed files with 4 additions and 4 deletions

View File

@ -1,2 +1,2 @@
REACT_APP_API_HOST="http://localhost:3000/toast/"
REACT_APP_API_DIR="/toast/"
REACT_APP_API_HOST="http://localhost:3000/"
REACT_APP_API_DIR="/"

View File

@ -2,10 +2,10 @@ import * as React from 'react';
import * as ReactDOM from 'react-dom';
import App from './App';
import './index.css';
import registerServiceWorker from './registerServiceWorker';
// import registerServiceWorker from './registerServiceWorker';
ReactDOM.render(
<App />,
document.getElementById('root') as HTMLElement
);
registerServiceWorker();
// registerServiceWorker();