Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web-backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ app.use('/api/app/proxy', requireAuth, async (req, res) => {
'Authorization': `Bearer ${req.session.tokens.access_token}`,
'Content-Type': req.headers['content-type'] || 'application/json',
'Accept': req.headers.accept || 'application/json',
'Document Policy': `js-profiling`
'Document Policy': 'js-profiling'
},
body: req.method !== 'GET' && req.method !== 'HEAD' ? JSON.stringify(req.body) : undefined
})
Expand Down
1 change: 1 addition & 0 deletions web-frontend/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ server {
# SPA fallback - return index.html for any unmatched routes
location / {
try_files $uri $uri/ /index.html;
add_header Document-Policy "js-profiling";
}

# Cache static assets
Expand Down
Loading