mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-02-23 11:19:12 +08:00
Change URLs to use the current host rather than hardcoding localhost
This commit is contained in:
parent
47ac3524e8
commit
27cb480d48
@ -5,9 +5,9 @@
|
||||
|
||||
export const environment = {
|
||||
production: false,
|
||||
API_URL_AUTH: 'http://localhost:8082',
|
||||
API_URL_GAME_ROUND: 'http://localhost:8080/round',
|
||||
API_URL_GAME_WS: 'ws://localhost:8080/round/ws',
|
||||
API_URL_PLAYERS: 'http://localhost:8081/player',
|
||||
API_URL_RANKS: 'http://localhost:8081/rank'
|
||||
API_URL_AUTH: `${document.location.hostname}:8082`,
|
||||
API_URL_GAME_ROUND: `http://${document.location.hostname}:8080/round`,
|
||||
API_URL_GAME_WS: `ws://${document.location.hostname}:8080/round/ws`,
|
||||
API_URL_PLAYERS: `http://${document.location.hostname}:8081/player`,
|
||||
API_URL_RANKS: `http://${document.location.hostname}:8081/rank`
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user