fix traefik

This commit is contained in:
Andras Bacsai
2022-07-22 21:28:01 +00:00
parent 0a369b632d
commit eef99caad1

View File

@@ -520,7 +520,7 @@ export async function startTraefikProxy(id: string): Promise<void> {
if (isDev) { if (isDev) {
ip = getAPIUrl() ip = getAPIUrl()
} else { } else {
ip = `http://${ipv4 || ipv6}` ip = `http://${ipv4 || ipv6}:3000`
} }
traefikUrl = `${ip}/webhooks/traefik/remote/${id}` traefikUrl = `${ip}/webhooks/traefik/remote/${id}`
} }
@@ -1108,6 +1108,7 @@ export async function startTraefikTCPProxy(
} }
traefikUrl = `${ip}/webhooks/traefik/other.json` traefikUrl = `${ip}/webhooks/traefik/other.json`
} }
console.log(traefikUrl)
const tcpProxy = { const tcpProxy = {
version: '3.8', version: '3.8',
services: { services: {