We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a4a3a commit e70fee5Copy full SHA for e70fee5
app/entry.server.tsx
@@ -36,6 +36,10 @@ export default async function handleRequest(...args: DocRequestArgs) {
36
responseHeaders.set('fly-primary-instance', primaryInstance)
37
responseHeaders.set('fly-instance', currentInstance)
38
39
+ if (process.env.NODE_ENV === 'production' && process.env.SENTRY_DSN) {
40
+ responseHeaders.append('Document-Policy', 'js-profiling')
41
+ }
42
+
43
const callbackName = isbot(request.headers.get('user-agent'))
44
? 'onAllReady'
45
: 'onShellReady'
0 commit comments