Add preview handling

This commit is contained in:
nicwands
2026-06-01 11:08:03 -04:00
parent ef70a0c756
commit 6776a14757
18 changed files with 1186 additions and 14 deletions

View File

@@ -12,6 +12,13 @@ export default defineConfig({
'@': fileURLToPath(new URL('./', import.meta.url)),
},
},
server: {
headers: {
// Allow the app to be embedded in iframes from Strapi admin
'Content-Security-Policy':
"frame-ancestors 'self' https://cms.takerofnotes.com",
},
},
css: {
preprocessorOptions: {
scss: {