diff --git a/endpoints.py b/endpoints.py index 5f07f02..34aa678 100644 --- a/endpoints.py +++ b/endpoints.py @@ -6,6 +6,8 @@ from flask_classful import FlaskView class IPEndpoint(FlaskView): + route_base = '/ip' + def post(self): consumer = json.loads(redis_client.get('currentConsumer')) consumer['Host'] = request.json['ip']