Revert "feat: add native fnOS gateway socket and base path support"
CI / verify (push) Canceled after 0s

This reverts commit 419c205103.
This commit is contained in:
2026-10-02 15:17:05 +08:00
parent 419c205103
commit a7e47e950a
7 changed files with 9 additions and 69 deletions
+1 -2
View File
@@ -912,7 +912,6 @@ import {
WarningOutline,
} from '@vicons/ionicons5'
import { api, asList } from '../api/client'
import { withBase } from '../api/base'
import type { CfTunnel, DiscoveredService, ProxyClientConn, ProxyRule, ProxySavePayload, ProxyTraffic } from '../api/types'
import { useVisibilityPolling } from '../composables/useVisibilityPolling'
import EmptyState from '../components/EmptyState.vue'
@@ -1836,7 +1835,7 @@ function stopLogStream() {
function startLogStream() {
const rule = selectedRule.value
if (!rule || logEventSource) return
logEventSource = new EventSource(withBase(`/api/proxies/${rule.id}/logs/stream?tail=100`), {
logEventSource = new EventSource(`/api/proxies/${rule.id}/logs/stream?tail=100`, {
withCredentials: true,
})
logEventSource.addEventListener('log', (event) => {