Skip to content

Commit

Permalink
fix: monaco thorwing unexpected error (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish authored Dec 5, 2023
1 parent c99874d commit 5e94204
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ export default defineNuxtConfig({
minify: 'esbuild',
cssMinify: 'esbuild',
},
server: {
headers: {
'Cross-Origin-Embedder-Policy': 'require-corp',
'Cross-Origin-Opener-Policy': 'same-origin',
},
},
},
content: {
highlight: {
Expand Down

0 comments on commit 5e94204

Please sign in to comment.