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
Percy8mo ago
Project ID: 57b752b6-6906-4c67-80d2-3f2901533640
Brody
Brody8mo ago
please share your repo
bricedenti
bricedenti8mo 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
Brody8mo ago
create react app?
bricedenti
bricedenti8mo ago
yep
Brody
Brody8mo ago
do you have a nixpacks.toml file and a Caddyfile in your repo?
bricedenti
bricedenti8mo ago
no
Want results from more Discord servers?
Add your server