Skip to content

Commit

Permalink
fix: Updated the BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud-Emad committed May 27, 2024
1 parent 199f1c9 commit edaa295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion clients/dart/switchkeys/lib/src/api/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ enum EndPoints {

abstract class SwitchKeysRoutes {
static final env = DotEnv()..load();
static final String baseUrl = env['BASE_URL'] ?? "";
static final String baseUrl =
env['BASE_URL'] ?? "https://switchkeysbknd.gent02.dev.grid.tf/";

static String getRoute(EndPoints endpoint, [List<String>? args]) {
switch (endpoint) {
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript/src/api/request/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SwitchKeysAuthRoutes {
* Constructs a new SwitchKeysAuthRoutes instance.
*/
constructor() {
this.BASE_URL = process.env.BASE_URL || "";
this.BASE_URL = process.env.BASE_URL || "https://switchkeysbknd.gent02.dev.grid.tf/";
}

/**
Expand Down

0 comments on commit edaa295

Please sign in to comment.