Can't find how to deploy on a subdirectory

Hello, I have a Github project which is hosted and deployed with Railway. Railway provided me this public domain : https://waste-pilot-kpi-production.up.railway.app But I would like to deploy my project on a subdirectory of this subdomain: https://waste-pilot-kpi-production.up.railway.app/kpi-project (it's a React app, so I would like to have the build directory in this subdirectory) I saw in documentation that there should be a "Root directory" field in the Build section of the settings but I can't find it... Can someone help on this one ? Thanks in advance projectid : 57b752b6-6906-4c67-80d2-3f2901533640
React App
Web site created using create-react-app
React App
Web site created using create-react-app
7 Replies
Percy
Percy10mo ago
Project ID: 57b752b6-6906-4c67-80d2-3f2901533640
Brody
Brody10mo ago
please share your repo
bricedenti
bricedentiOP10mo ago
Hey @Brody , thanks for your answer. I can't share my project because it belongs to the company I'm working for. Do you want me to share the package.json file ? or anything ?
Brody
Brody10mo ago
create react app?
bricedenti
bricedentiOP10mo ago
yep
Brody
Brody10mo ago
do you have a nixpacks.toml file and a Caddyfile in your repo?
bricedenti
bricedentiOP10mo ago
no
Want results from more Discord servers?
Add your server