Switch frontend to use router for url resolution.