Skip to content

Commit 7669461

Browse files
Merge pull request #50 from nullinside-development-group/feature/Certs
Feature/certs
2 parents ec1d34c + c73c5b5 commit 7669461

File tree

5 files changed

+3
-10
lines changed

5 files changed

+3
-10
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sp6eTSmFO1IB0Mu8UT70tzaGzpYLA-FqevE7B4QhFJs.lLiLxfxFr5z8P_l3hX2xIAEY4EIAdM9jhE4QGdFAaw0

nginx/filesystem/usr/share/nginx/html/.well-known/acme-challenge/vC21oWGWP8GufelV0kVHbBuxFeG3EmIA69y_Zb2-Tx8

Lines changed: 0 additions & 1 deletion
This file was deleted.

nginx/filesystem/usr/share/nginx/html/.well-known/acme-challenge/zok5W5r0A-RPyOD_8TUqgmBWkTEkcAl1G6I9tH_DyZ0

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/src/app/common/components/twitch-login/twitch-login.component.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@ export class TwitchLoginComponent {
2020
@Input() redirectUrl: string | null = null;
2121

2222
twitchLogin(): void {
23-
let redirectUrl = null;
24-
if (!this.redirectUrl) {
25-
redirectUrl = `${environment.apiUrl}/user/twitch-login`;
26-
} else {
27-
redirectUrl = `${environment.apiUrl}/${this.redirectUrl}`;
28-
}
29-
23+
const redirectUrl = `${environment.apiUrl}/${this.redirectUrl}`;
3024
window.location.href = `https://id.twitch.tv/oauth2/authorize?` +
3125
encodeURI(`client_id=${environment.twitchClientId}&` +
3226
`redirect_uri=${redirectUrl}&` +

src/src/app/view/login/login.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
data-shape="rectangular"
1717
data-logo_alignment="left">
1818
</div>
19-
<app-twitch-login [twitchScopeIndex]="0" />
19+
<app-twitch-login [twitchScopeIndex]="0" redirectUrl="user/twitch-login" />
2020
</div>
2121
<div class="centered-box_content-container" [hidden]="!checkingLogin">
2222
<app-loading-icon fontSize="24px" height="35px" width="35px">

0 commit comments

Comments
 (0)