import { Component } from 'react';
import { BrowserRouter as Router } from 'react-router-dom';

class App extends Component {
  render() {
    console.log('Host URL' + process.env.PUBLIC_URL);
    return (
      <Router basename={process.env.PUBLIC_URL}>
        <div className='App'>
          <header className='App-header'>
            <h1 className='App-title'>AOA Webcomponents</h1>
          </header>
        </div>
      </Router>
    );
  }
}

export default App;
