refactor: minor housekeeping
This commit is contained in:
parent
6571d6742c
commit
9a7c4e28cb
|
@ -4,6 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="theme-color" content="#000000">
|
||||
<meta name="description" content="tildetv is an alternative way to enjoy visual media on the internet.">
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is added to the
|
||||
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
||||
|
|
|
@ -5,10 +5,9 @@ import { BrowserRouter } from 'react-router-dom';
|
|||
import 'normalize.css';
|
||||
import './styles/index.css';
|
||||
import Root from './Root';
|
||||
import getBaseUrl from './utils/getBaseUrl';
|
||||
|
||||
const wrapped = (
|
||||
<BrowserRouter basename={getBaseUrl()}>
|
||||
<BrowserRouter basename={process.env.PUBLIC_URL || null}>
|
||||
<Root />
|
||||
</BrowserRouter>
|
||||
);
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
const getBaseUrl = () => process.env.PUBLIC_URL || undefined;
|
||||
|
||||
export default getBaseUrl;
|
Loading…
Reference in New Issue