Spaces:
Running
Running
chore (build): Updating security policy for Huggingface spaces.
Browse files- next.config.js +0 -12
next.config.js
CHANGED
@@ -39,22 +39,10 @@ const headers = [
|
|
39 |
key: 'Content-Security-Policy',
|
40 |
value: getCSPString(cspMap),
|
41 |
},
|
42 |
-
{
|
43 |
-
key: 'X-Content-Type-Options',
|
44 |
-
value: 'nosniff',
|
45 |
-
},
|
46 |
-
{
|
47 |
-
key: 'X-XSS-Protection',
|
48 |
-
value: '1',
|
49 |
-
},
|
50 |
{
|
51 |
key: 'Strict-Transport-Security',
|
52 |
value: 'max-age=63072000; includeSubDomains; preload',
|
53 |
},
|
54 |
-
{
|
55 |
-
key: 'Referrer-Policy',
|
56 |
-
value: 'strict-origin-when-cross-origin',
|
57 |
-
},
|
58 |
];
|
59 |
|
60 |
const nextConfig = {
|
|
|
39 |
key: 'Content-Security-Policy',
|
40 |
value: getCSPString(cspMap),
|
41 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
{
|
43 |
key: 'Strict-Transport-Security',
|
44 |
value: 'max-age=63072000; includeSubDomains; preload',
|
45 |
},
|
|
|
|
|
|
|
|
|
46 |
];
|
47 |
|
48 |
const nextConfig = {
|