Skip to content

Commit ee62f2f

Browse files
authored
fix login URL (#99)
1 parent 1ffb0ed commit ee62f2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/login/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default class LoginIndex extends Command {
7575

7676
public async openLoginPage() {
7777
// Open the Hypermode sign-in page in the default browser
78-
const loginUrl = "http://localhost:3000/callback?port=5051&type=cli";
78+
const loginUrl = "https://hypermode.com/callback?port=5051&type=cli";
7979
await open(loginUrl);
8080
}
8181

@@ -94,7 +94,7 @@ export default class LoginIndex extends Command {
9494
return;
9595
}
9696

97-
const response = await fetch("http://localhost:3000/api/api-key/create", {
97+
const response = await fetch("https://hypermode.com/api/api-key/create", {
9898
method: "POST",
9999
headers: {
100100
Authorization: `Bearer ${jwt}`,

0 commit comments

Comments
 (0)