I'm not sure how stable this is - because it's experimental - but this link seems to answer your need : Expo Router static export fails to respect publicPath and basePath when deployed under subpath
in app.json, putting experiments.baseUrl to "/subpath" should be working