From eba54c961dfea22c9622a47f6520b09eec22efe3 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Wed, 23 Jun 2021 11:04:12 +0200 Subject: [PATCH] Revert changes --- .../components/control_center/src/app/services/rest.service.ts | 2 +- 3_Codeabgabe/components/x_way/x_way_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3_Codeabgabe/components/control_center/src/app/services/rest.service.ts b/3_Codeabgabe/components/control_center/src/app/services/rest.service.ts index 696c42b..54033d2 100644 --- a/3_Codeabgabe/components/control_center/src/app/services/rest.service.ts +++ b/3_Codeabgabe/components/control_center/src/app/services/rest.service.ts @@ -5,7 +5,7 @@ import {environment} from '../../environments/environment'; @Injectable() export class RestService { - private currentLocation = environment.location + '/swaggerui/resources/'; + private currentLocation = environment.location + '/api/v1/resources/'; constructor( private logger: NGXLogger, diff --git a/3_Codeabgabe/components/x_way/x_way_server.py b/3_Codeabgabe/components/x_way/x_way_server.py index 891d896..007db8c 100644 --- a/3_Codeabgabe/components/x_way/x_way_server.py +++ b/3_Codeabgabe/components/x_way/x_way_server.py @@ -9,7 +9,7 @@ import json app = Flask(__name__) CORS(app) -api_bp = flask.Blueprint("api", __name__, url_prefix="/swaggerui") +api_bp = flask.Blueprint("api", __name__, url_prefix="/api/v1") API = flask_restx.Api(api_bp) app.register_blueprint(api_bp)