chore: Rewrite API urls on build