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)