Add preview handling
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user