diff --git a/frontend/src/lib/utils/apiHost.ts b/frontend/src/lib/utils/apiHost.ts index 75d18c2bf06..52406be14dc 100644 --- a/frontend/src/lib/utils/apiHost.ts +++ b/frontend/src/lib/utils/apiHost.ts @@ -14,6 +14,8 @@ export function liveEventsHostOrigin(): string | null { return 'https://live.us.posthog.com' } else if (appOrigin === 'https://eu.posthog.com') { return 'https://live.eu.posthog.com' + } else if (appOrigin === 'https://app.dev.posthog.dev') { + return 'https://live.dev.posthog.dev' } return 'http://localhost:8666' } diff --git a/livestream/Dockerfile b/livestream/Dockerfile index eb92001a84e..c0c436ea0c3 100644 --- a/livestream/Dockerfile +++ b/livestream/Dockerfile @@ -21,4 +21,7 @@ RUN apt-get update && \ FROM ubuntu COPY --from=builder /livestream /GeoLite2-City.mmdb / +COPY --from=builder /etc/ssl/certs /etc/ssl/certs +COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates + CMD ["/livestream"]