mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: harden Docker image and async job responses
Harden Docker runtime packaging, preserve async job response semantics, fix Redis subscriber startup connections, clear lint warnings, and harden enterprise S3 object body handling.
This commit is contained in:
@@ -13,7 +13,9 @@ const on = mode === "on";
|
||||
// a build from source stays silent. A Sentry DSN and a PostHog project key are
|
||||
// public (they ship in the browser bundle), so this is about not making forks /
|
||||
// source builds phone home by default, not about secrecy.
|
||||
const posthogApiKey = on ? (process.env.SNAPOTTER_POSTHOG_KEY ?? "") : "";
|
||||
const posthogApiKey = on
|
||||
? (process.env.SNAPOTTER_POSTHOG_PROJECT_ID ?? process.env.SNAPOTTER_POSTHOG_KEY ?? "")
|
||||
: "";
|
||||
const sentryDsn = on ? (process.env.SNAPOTTER_SENTRY_DSN ?? "") : "";
|
||||
const posthogHost = posthogApiKey ? "https://us.i.posthog.com" : "";
|
||||
// Enabled only when turned on AND there is somewhere to report to, so a
|
||||
|
||||
Reference in New Issue
Block a user