Skip to content

Commit

Permalink
exclude port from login link
Browse files Browse the repository at this point in the history
  • Loading branch information
netcodedev committed Sep 12, 2023
1 parent 59134b6 commit a0206e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<p class="py-6">Finde hier das Thema für deine Thesis!</p>
{#if data.user == undefined}
<a
href="{data.CAS_HOST}/cas/login?service={data.PUBLIC_HOST}:{data.PUBLIC_PORT}"
href="{data.CAS_HOST}/cas/login?service={data.PUBLIC_HOST}{data.PUBLIC_PORT == 443 ? '' : ':'+data.PUBLIC_PORT}"
class="btn btn-primary">
Jetzt anmelden
</a>
Expand Down

0 comments on commit a0206e4

Please sign in to comment.