mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-30 10:40:13 +08:00
Specify HTTP protocol in auth url env var
This commit is contained in:
parent
44a4f89899
commit
8967fa611e
@ -69,7 +69,7 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
loginGoogle() {
|
||||
window.location.href = `http://${environment.API_URL_AUTH}/auth-service/GoogleAuth`;
|
||||
window.location.href = `${environment.API_URL_AUTH}/auth-service/GoogleAuth`;
|
||||
}
|
||||
|
||||
async quickJoin() {
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
export const environment = {
|
||||
production: false,
|
||||
API_URL_AUTH: `${document.location.hostname}:8082`,
|
||||
API_URL_AUTH: `http://${document.location.hostname}:8082`,
|
||||
API_URL_PARTY: `http://${document.location.hostname}:8080/party`,
|
||||
API_URL_GAME_ROUND: `http://${document.location.hostname}:8080/round`,
|
||||
API_URL_GAME_WS: `ws://${document.location.hostname}:8080/round/ws`,
|
||||
|
Loading…
Reference in New Issue
Block a user