Change public url to /

This commit is contained in:
2025-09-28 15:28:13 +02:00
parent 5917a35da5
commit 45f58fc158
3 changed files with 5 additions and 3 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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>