diff --git a/components/DownloadApiLogs.ce.vue b/components/DownloadApiLogs.ce.vue index 3d4d4c00b..6f58a88b9 100644 --- a/components/DownloadApiLogs.ce.vue +++ b/components/DownloadApiLogs.ce.vue @@ -12,7 +12,7 @@ const { t } = useI18n(); const { apiKey } = storeToRefs(useServerStore()); -const downloadUrl = computed(() => new URL(`/graphql/api/logs?apiKey=${apiKey.value}`, DEV_GRAPH_URL || window.location.origin)); +const downloadUrl = computed(() => new URL(`/graphql/api/logs?apiKey=${apiKey.value}`, DEV_GRAPH_URL.toString() || window.location.origin));