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)