Skip to content

Commit

Permalink
fix: require ip get call
Browse files Browse the repository at this point in the history
  • Loading branch information
ritwickdey committed Aug 30, 2022
1 parent 5288abe commit dfc8332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class AppModel implements IAppModel {
}

private openBrowser(port: number, path: string) {

This comment has been minimized.

Copy link
@jokerputihboy

jokerputihboy May 27, 2024

308 (buat)

const host = (Config.getLocalIp ? require('ips').local : Config.getHost) || '127.0.0.1';
const host = (Config.getLocalIp ? require('ips')().local : Config.getHost) || '127.0.0.1';
const protocol = Config.getHttps.enable ? 'https' : 'http';

let params: string[] = [];
Expand Down

2 comments on commit dfc8332

@jokerputihboy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

df

@jokerputihboy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dfc8332

Please sign in to comment.