From 585241481e7cb558951dfaeb6c428ae2bd85a97a Mon Sep 17 00:00:00 2001 From: David Eder Date: Wed, 23 Jun 2021 10:41:02 +0200 Subject: [PATCH] Fix swaggerui --- .../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 54033d2..696c42b 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 + '/api/v1/resources/'; + private currentLocation = environment.location + '/swaggerui/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 007db8c..891d896 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="/api/v1") +api_bp = flask.Blueprint("api", __name__, url_prefix="/swaggerui") API = flask_restx.Api(api_bp) app.register_blueprint(api_bp)