Skip to content
Snippets Groups Projects
Commit b91372fc authored by Sven Weber's avatar Sven Weber
Browse files

Applying fix for empty CS Endpoint to FL

parent 673bd865
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ class FLApiClient extends EventEmitter { ...@@ -38,7 +38,7 @@ class FLApiClient extends EventEmitter {
super(); super();
this.#jobId = jobId; this.#jobId = jobId;
this.#logger = new FederatedLogger(); this.#logger = new FederatedLogger();
this.#baseUrl = `https://${process.env.CENTRALSERVICE_ADDRESS}:${process.env.CENTRALSERVICE_PORT}/${process.env.CENTRALSERVICE_ENDPOINT}/api/`; this.#baseUrl = `https://${process.env.CENTRALSERVICE_ADDRESS}:${process.env.CENTRALSERVICE_PORT}/${process.env.CENTRALSERVICE_ENDPOINT}${process.env.CENTRALSERVICE_ENDPOINT ?? '/'}api/`;
this.#lastEvent = 0; this.#lastEvent = 0;
//Status codes that are considered as successful by the client //Status codes that are considered as successful by the client
this.#successStatusCodes = [200, 201, 204]; this.#successStatusCodes = [200, 201, 204];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment