Update CSP+
This commit is contained in:
parent
83af5588cd
commit
39e7df9e85
|
@ -2,7 +2,7 @@
|
||||||
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
||||||
X-Content-Type-Options: nosniff
|
X-Content-Type-Options: nosniff
|
||||||
X-XSS-Protection: 1; mode=block
|
X-XSS-Protection: 1; mode=block
|
||||||
Content-Security-Policy: default-src 'none'; img-src https://doks.netlify.com/; script-src https://doks.netlify.com/; style-src https://doks.netlify.com/
|
Content-Security-Policy: default-src 'self'; img-src 'self' data:; object-src 'none'
|
||||||
X-Frame-Options: SAMEORIGIN
|
X-Frame-Options: SAMEORIGIN
|
||||||
Referrer-Policy: strict-origin
|
Referrer-Policy: strict-origin
|
||||||
Feature-Policy: geolocation 'self'
|
Feature-Policy: geolocation 'self'
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
functions = "functions/"
|
functions = "functions/"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.69.0"
|
HUGO_VERSION = "0.68.3"
|
||||||
NODE_VERSION = "13.11.0"
|
NODE_VERSION = "13.11.0"
|
||||||
NPM_VERSION = "6.13.7"
|
NPM_VERSION = "6.13.7"
|
||||||
YARN_VERSION = "1.22.4"
|
YARN_VERSION = "1.22.0"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "yarn build:preview"
|
command = "yarn build:preview"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "yarn build"
|
command = "yarn build"
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hyas",
|
"name": "doks",
|
||||||
"version": "1.2.1",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"defaults"
|
"defaults"
|
||||||
|
|
Loading…
Reference in New Issue