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