Skip to content

Commit

Permalink
Legger på csp for blob i iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbjoern committed Jan 28, 2025
1 parent 15ff055 commit 676b6de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */
const createNextIntlPlugin = require('next-intl/plugin');
const withNextIntl = createNextIntlPlugin();
const withNextIntl = createNextIntlPlugin();

const ssr = require('@navikt/nav-dekoratoren-moduler/ssr');

Expand All @@ -10,6 +10,7 @@ const appDirectives = {
'object-src': ['none'],
'script-src-elem': ["'self'"],
'style-src-elem': ["'self'"],
'frame-src': ['self', 'blog:'],
'img-src': ["'self'", 'data:', 'blob:'],
};

Expand Down

0 comments on commit 676b6de

Please sign in to comment.