Change how routes are handled on the server