diff --git a/ansible/roles/cyborg/templates/cyborg-api-paste.ini.j2 b/ansible/roles/cyborg/templates/cyborg-api-paste.ini.j2 index 7717f95879..a8eb264c10 100644 --- a/ansible/roles/cyborg/templates/cyborg-api-paste.ini.j2 +++ b/ansible/roles/cyborg/templates/cyborg-api-paste.ini.j2 @@ -1,11 +1,11 @@ [pipeline:main] -pipeline = cors request_id authtoken api_v1 +pipeline = cors request_id authtoken api_v2 -[app:api_v1] +[app:api_v2] paste.app_factory = cyborg.api.app:app_factory [filter:authtoken] -acl_public_routes = /, /v1 +acl_public_routes = /, /v2 paste.filter_factory = cyborg.api.middleware.auth_token:AuthTokenMiddleware.factory [filter:osprofiler]