Public Path / Static Assets Issue

Okay so i deployed the project to prefix.domain.com and everything works fine. But the client asking me to move the root of installation to subdomain. Something like this prefix.domain.com/subdomain. The routing works fine since it can be setup at the frontity.settings.js . But now the static assets is broken and cannot be loaded. I already tried npx frontity build --public-path="/subdomain/static" but still got no luck. Any idea how to fix this issue?

Thanks