File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change 1+ const { withFaust, getWpHostname } = require ( '@faustwp/core' ) ;
12const { createSecureHeaders } = require ( 'next-secure-headers' ) ;
23
34/**
45 * @type {import('next').NextConfig }
56 **/
67module . exports = withFaust ( {
7- reactStrictMode : true ,
8- sassOptions : {
9- includePaths : [ 'node_modules' ] ,
10- } ,
11- images : {
12- domains : [ getWpHostname ( ) ] ,
13- } ,
14-
15- async headers ( ) {
16- return [
17- {
18- source : '/:path*' ,
19- headers : createSecureHeaders ( {
20- xssProtection : false ,
21- } ) ,
22- } ,
23- ] ;
24- } ,
8+ reactStrictMode : true ,
9+ sassOptions : {
10+ includePaths : [ 'node_modules' ] ,
11+ } ,
12+ images : {
13+ domains : [ getWpHostname ( ) ] ,
14+ } ,
15+ async headers ( ) {
16+ return [
17+ {
18+ source : '/:path*' ,
19+ headers : createSecureHeaders ( {
20+ xssProtection : false ,
21+ } ) ,
22+ } ,
23+ ] ;
24+ } ,
2525} ) ;
You can’t perform that action at this time.
0 commit comments