Only hide write routes in production