title: How should I configure create-react-app to serve app from subdirectory?
body: <p>I have classic web application rendered on server. I want to create admin panel as single page application in React. I want to server admin panel from <a href="https://smyapp.example.com/admin/" rel="noreferrer">https://smyapp.example.com/admin/</a>. I try to use <code>create-react-app</code> but it assumes that i serve SPA from root URL. How should I configure <code>create-react-app</code> to serve app from <code>"admin"</code> subdirectory? In documentation I found <code>"homepage"</code> property but if I properly understand it requires complete url. I can't give complete url because my app is deployed in few environments.</p>