Deploy to web server sub folder with Routing app

I have App.tsx with routing :

<Route path=“/” element={} />
<Route path=“/Home” element={} />

when I deploy to a local node web server in a root folder, everything works. When sub-folder resources are not found.

I have tried homepage, etc. nothing seems to figure out the relative path to resources.