fix: various fixes to sentry-reported errors and more

This commit is contained in:
Hampus Kraft
2026-02-18 15:38:51 +00:00
parent 302c0d2a0c
commit 0517a966a3
357 changed files with 25420 additions and 16281 deletions

View File

@@ -58,8 +58,8 @@ export async function getMarketingRequestInfo(c: Context, config: MarketingConfi
const platform = detectPlatform(userAgent);
const architecture = detectArchitecture(userAgent, platform);
const countryCode = await getCountryCode(c.req.raw, {
apiHost: config.apiRpcHost,
rpcSecret: config.gatewayRpcSecret,
geoipDbPath: config.geoipDbPath,
trustCfConnectingIp: config.trustCfConnectingIp,
});
const referrerDomain = extractReferrerDomain(c.req.header('referer') ?? c.req.header('referrer'));