Change public url to /
This commit is contained in:
@@ -10,7 +10,9 @@ RUN npm ci --silent --legacy-peer-deps
|
||||
|
||||
COPY . .
|
||||
ARG REACT_APP_API_URL=""
|
||||
ARG PUBLIC_URL=/
|
||||
ENV REACT_APP_API_URL=${REACT_APP_API_URL}
|
||||
ENV PUBLIC_URL=${PUBLIC_URL}
|
||||
|
||||
RUN npm run build
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"version": "0.1.0",
|
||||
"homepage": "https://hugyouu.github.io/Letterboxd-Diary-Posters-Picker",
|
||||
"version": "1.0.0",
|
||||
"homepage": "/",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.14.0",
|
||||
"@emotion/styled": "^11.14.0",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>React App</title>
|
||||
<title>Poster Picker</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
||||
Reference in New Issue
Block a user