Specify HTTP protocol in auth url env var

This commit is contained in:
Andrew Guibert 2018-05-09 14:06:40 -05:00
parent 44a4f89899
commit 8967fa611e
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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`,