Skip to content

Commit

Permalink
add connection: fix Go to dashboard button showing on agent connectio…
Browse files Browse the repository at this point in the history
…n created
  • Loading branch information
lyubov-voloshko committed Aug 30, 2023
1 parent b09bda7 commit 8fb9c0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export class ConnectDBComponent implements OnInit, OnDestroy {
const createdConnectionID = res.id!;
if (this.db.connectionType === 'agent') {
this.connectionToken = res.token;
this.connectionID = res.id;
} else {
this.router.navigate([`/dashboard/${createdConnectionID}`]);
};
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"#important to keep it /api for prod": true,
"baseURL": "https://app.rocketadmin.com/api"
"baseURL": "/api"
}

0 comments on commit 8fb9c0f

Please sign in to comment.