Skip to content

Commit

Permalink
fix(ui): csp prevents iframe content from showing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrisse authored Aug 30, 2024
1 parent ba63878 commit ff71c56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/leapfrogai_ui/src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ const csp: Handle = async ({ event, resolve }) => {
process.env.PUBLIC_SUPABASE_URL,
process.env.SUPABASE_AUTH_EXTERNAL_KEYCLOAK_URL
],
'child-src': ["'none'"], // note - this will break the annotations story and will need to updated to allow the correct resource
'child-src': ["'none'"],
'frame-src': [`blob: 'self'`],
'frame-ancestors': ["'none'"]
};

Expand Down

0 comments on commit ff71c56

Please sign in to comment.