Skip to content

Commit

Permalink
Forsøker å fikse skjermdeling for veileder
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasDybdahl committed Nov 11, 2024
1 parent 2f1dd68 commit 1213628
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/veiviser-fp-eller-es/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ export default defineConfig({
include: '**/*.{jsx,tsx}',
}),
checker({ typescript: true }),
{
name: 'crossorigin',
transformIndexHtml(html) {
return html.replace(/<link rel="stylesheet" crossorigin/g, '<link rel="stylesheet" type="text/css"');
},
},
],
base: '/foreldrepenger/foreldrepenger-eller-engangsstonad',
build: {
Expand Down

0 comments on commit 1213628

Please sign in to comment.