fix(build): fix origin not allowed in remote for pages