Skip to content

Commit

Permalink
fix(modeler): update SaaS URL for Modeler
Browse files Browse the repository at this point in the history
  • Loading branch information
jwulf committed Dec 20, 2024
1 parent c3cfb18 commit 563e866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/lib/Configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,12 @@ const getMainEnv = () =>
type: 'string',
optional: true,
},
/** The base url for the Modeler API. Defaults to Camunda Saas - https://modeler.cloud.camunda.io/api */
// https://github.com/camunda/camunda-8-js-sdk/issues/203
/** The base url for the Modeler API. Defaults to Camunda Saas - https://modeler.camunda.io/api */
CAMUNDA_MODELER_BASE_URL: {
type: 'string',
optional: true,
default: 'https://modeler.cloud.camunda.io/api',
default: 'https://modeler.camunda.io/api',
},
/** The base url for the Admin Console API. */
CAMUNDA_CONSOLE_BASE_URL: {
Expand Down
3 changes: 1 addition & 2 deletions src/modeler/lib/ModelerAPIClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ export class ModelerApiClient {
const config = CamundaEnvironmentConfigurator.mergeConfigWithEnvironment(
options?.config ?? {}
)
const modelerApiUrl =
config.CAMUNDA_MODELER_BASE_URL ?? 'https://modeler.cloud.camunda.io/api'
const modelerApiUrl = config.CAMUNDA_MODELER_BASE_URL
this.oAuthProvider =
options?.oAuthProvider ?? constructOAuthProvider(config)
this.userAgentString = createUserAgentString(config)
Expand Down

0 comments on commit 563e866

Please sign in to comment.