fix traefik
This commit is contained in:
@@ -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: {
|
||||||
|
Reference in New Issue
Block a user