Skip to content

Commit

Permalink
feat: added config for macos and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
VishalPawar1010 committed Jul 25, 2024
1 parent c946361 commit 317302f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/platform.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ let WS_URL: string;
if (Pieces.PlatformEnum.Linux) {
BASE_URL = 'http://localhost:5323';
WS_URL = 'ws://localhost:5323';
} else {
}
if(Pieces.PlatformEnum.Macos || Pieces.PlatformEnum.Windows) {
BASE_URL = 'http://localhost:1000';
WS_URL = 'ws://localhost:1000';
}
else{
BASE_URL = 'http://localhost:1000';
WS_URL = 'ws://localhost:1000';

}

const config = new Pieces.Configuration({
basePath: BASE_URL,
Expand Down

0 comments on commit 317302f

Please sign in to comment.