This commit is contained in:
parent
9a96f919c8
commit
112f3cd234
3 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@ export class JumpService {
|
|||
constructor(private http: HttpClient) {}
|
||||
|
||||
registerJump() {
|
||||
console.log("api: " + this.apiUrl)
|
||||
return this.http.get<{ totalJumps: number }>(this.apiUrl, {});
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
export const environment = {
|
||||
production: true,
|
||||
apiBaseUrl: 'http://localhost:8080/game/jump'
|
||||
apiBaseUrl: 'http://localhost:8080/silly-game-api/game/jump'
|
||||
};
|
|
@ -1,4 +1,4 @@
|
|||
export const environment = {
|
||||
production: true,
|
||||
apiBaseUrl: 'http://silly-game-backend-service.silly-game.svc.cluster.local/game/jump'
|
||||
apiBaseUrl: 'http://${window.location.origin}/silly-game-api/game/jump'
|
||||
};
|
Loading…
Reference in a new issue