diff --git a/src/routes/sources/[id]/_Gitlab.svelte b/src/routes/sources/[id]/_Gitlab.svelte index 0a39fcf72..ba18ea5f2 100644 --- a/src/routes/sources/[id]/_Gitlab.svelte +++ b/src/routes/sources/[id]/_Gitlab.svelte @@ -5,6 +5,7 @@ import { page, session } from '$app/stores'; import { onMount } from 'svelte'; import { post } from '$lib/api'; + import { browser } from '$app/env'; const { id } = $page.params; let loading = false; @@ -127,8 +128,9 @@
- email (Allows read-only access to the user's primary email address using OpenID Connect)

For extra security, you can set Expire access tokens! -

Webhook URL: {window.location - .origin}/webhooks/gitlab +

Webhook URL: {browser + ? window.location.origin + : ''}/webhooks/gitlab
But if you will set a custom domain name for Coolify, use that instead." />