mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
17 lines
397 B
JavaScript
17 lines
397 B
JavaScript
export function decideResponse(featureFlags) {
|
|
return {
|
|
config: {
|
|
enable_collect_everything: true,
|
|
},
|
|
toolbarParams: {
|
|
toolbarVersion: 'toolbar',
|
|
},
|
|
isAuthenticated: true,
|
|
supportedCompression: ['gzip', 'gzip-js', 'lz64'],
|
|
featureFlags,
|
|
sessionRecording: {
|
|
endpoint: '/s/',
|
|
},
|
|
}
|
|
}
|