|
1
|
import React from 'react'; |
|
2
|
import { render } from 'react-dom'; |
|
3
|
import App from './components/App'; |
|
4
|
import * as serviceWorker from './serviceWorker'; |
|
5
|
import 'bootstrap/dist/css/bootstrap.css'; |
|
6
|
import axios from 'axios'; |
|
7
|
|
|
8
|
axios.defaults.baseURL = 'https://musik88.com/api/v1/'; |
|
9
|
|
|
10
|
render(<App />, document.getElementById('root')); |
|
11
|
|
|
12
|
// If you want your app to work offline and load faster, you can change |
|
13
|
// unregister() to register() below. Note this comes with some pitfalls. |
|
14
|
// Learn more about service workers: http://bit.ly/CRA-PWA |
|
15
|
serviceWorker.unregister(); |