From 45f58fc158cd648be9e4992d4aa75bf611508847 Mon Sep 17 00:00:00 2001 From: Hugo Pierret Date: Sun, 28 Sep 2025 15:28:13 +0200 Subject: [PATCH] Change public url to / --- Dockerfile | 2 ++ package.json | 4 ++-- public/index.html | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5731d1..0d1ac6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/package.json b/package.json index ef061af..7411c4e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/public/index.html b/public/index.html index aa069f2..c1adfb4 100644 --- a/public/index.html +++ b/public/index.html @@ -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`. --> - React App + Poster Picker