Consider all requests local in production
Fix unexpected end