static serving under path
parent
dc9c0d5e59
commit
b3358023f1
|
|
@ -1,2 +1,2 @@
|
||||||
REACT_APP_API_HOST="http://localhost:3000/toast/"
|
REACT_APP_API_HOST="http://localhost:3000/"
|
||||||
REACT_APP_API_DIR="/toast/"
|
REACT_APP_API_DIR="/"
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@ import * as React from 'react';
|
||||||
import * as ReactDOM from 'react-dom';
|
import * as ReactDOM from 'react-dom';
|
||||||
import App from './App';
|
import App from './App';
|
||||||
import './index.css';
|
import './index.css';
|
||||||
import registerServiceWorker from './registerServiceWorker';
|
// import registerServiceWorker from './registerServiceWorker';
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<App />,
|
<App />,
|
||||||
document.getElementById('root') as HTMLElement
|
document.getElementById('root') as HTMLElement
|
||||||
);
|
);
|
||||||
registerServiceWorker();
|
// registerServiceWorker();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue