Skip to content

Commit

Permalink
Fix wrong base address
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubzika committed Oct 27, 2019
1 parent 4ed242f commit 17f5a06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"eslint.enable": false
}
6 changes: 2 additions & 4 deletions app/lib/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// export const REMOTE_BASE = `http://${window.location.hostname}`;
// export const WEBSOCKET_BASE = `ws://${window.location.hostname}`;
export const REMOTE_BASE = `http://localhost`;
export const WEBSOCKET_BASE = `ws://localhost`;
export const REMOTE_BASE = `http://${window.location.hostname}`;
export const WEBSOCKET_BASE = `ws://${window.location.hostname}`;

export const API_PORT = '8000';
export const WEBSOCKET_PORT = '8001';
Expand Down

0 comments on commit 17f5a06

Please sign in to comment.