public url fixes

This commit is contained in:
Jelle van Snik 2022-05-01 23:38:34 +02:00
parent f7ad9b67fa
commit 3338a1610d
3 changed files with 12 additions and 8 deletions

5
.env Normal file
View File

@ -0,0 +1,5 @@
# this is to prevent warnings in webpack builds
GENERATE_SOURCEMAP=false
# uncomment and add the following line to `.env.local` if you are running behind a proxy or on a subdirectory
# PUBLIC_URL=https://your-domain.com/directory-here

1
.gitignore vendored
View File

@ -17,7 +17,6 @@ node_modules
.env.development.local
.env.test.local
.env.production.local
.env
npm-debug.log*
yarn-debug.log*

View File

@ -16,14 +16,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="because watching movies legally is boring"
content="Because watching movies legally is boring"
/>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#E880C5">
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png">
<link rel="manifest" href="%PUBLIC_URL%/site.webmanifest">
<link rel="mask-icon" href="%PUBLIC_URL%/safari-pinned-tab.svg" color="#E880C5">
<meta name="msapplication-TileColor" content="#E880C5">
<meta name="theme-color" content="#E880C5">
@ -31,7 +31,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap" rel="stylesheet">
<title>movie-web</title>
<title>Movie-web</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>