-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
641 additions
and
848 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
_vendor/ | ||
prebuild/ | ||
public/ | ||
resources/ | ||
node_modules/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,29 @@ | ||
# toml-docs-start server-config | ||
# Auto-generated file - do not modify | ||
|
||
[[headers]] | ||
for = '/**' | ||
[headers.values] | ||
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload" | ||
X-Content-Type-Options = "nosniff" | ||
X-XSS-Protection = "1; mode=block" | ||
Content-Security-Policy = """\ | ||
default-src 'self'; \ | ||
script-src 'self' https://*.google-analytics.com https://*.googletagmanager.com; \ | ||
style-src 'self' https://fonts.googleapis.com https://www.youtube.com; \ | ||
object-src 'none'; \ | ||
for = '/**' | ||
|
||
[headers.values] | ||
Access-Control-Allow-Origin = '*' | ||
Content-Security-Policy = """ | ||
base-uri 'self'; \ | ||
connect-src 'self' | ||
https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com; \ | ||
font-src 'self' https://fonts.gstatic.com; \ | ||
frame-src 'self' https://player.cloudinary.com https://player.vimeo.com https://www.youtube-nocookie.com https://www.youtube.com; \ | ||
img-src 'self' data: https://*.imgix.net https://*.imagekit.io https://*.cloudinary.com https://i.vimeocdn.com https://i.ytimg.com https://*.google-analytics.com https://*.googletagmanager.com https://tile.openstreetmap.org; \ | ||
connect-src 'self' *.google-analytics.com *.analytics.google.com *.googletagmanager.com; \ | ||
default-src 'none' 'self'; \ | ||
font-src 'self' fonts.gstatic.com; \ | ||
form-action 'self'; \ | ||
frame-src player.cloudinary.com player.vimeo.com www.youtube-nocookie.com www.youtube.com; \ | ||
img-src 'self' *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.vimeocdn.com i.ytimg.com tile.openstreetmap.org; \ | ||
manifest-src 'self'; \ | ||
media-src 'self' \ | ||
""" | ||
X-Frame-Options = "SAMEORIGIN" | ||
Referrer-Policy = "strict-origin" | ||
Permissions-Policy = """\ | ||
geolocation=(), \ | ||
midi=(), \ | ||
sync-xhr=(), \ | ||
microphone=(), \ | ||
camera=(), \ | ||
magnetometer=(), \ | ||
gyroscope=(), \ | ||
payment=() \ | ||
""" | ||
cache-control = """\ | ||
max-age=0, \ | ||
no-cache, \ | ||
no-store, \ | ||
must-revalidate \ | ||
media-src 'self'; \ | ||
object-src 'none'; \ | ||
script-src 'self' *.google-analytics.com *.googletagmanager.com; \ | ||
style-src 'self' www.youtube.com; \ | ||
""" | ||
Access-Control-Allow-Origin = "*" | ||
# toml-docs-end server-config | ||
Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() ' | ||
Referrer-Policy = 'strict-origin' | ||
Strict-Transport-Security = 'max-age=31536000; includeSubDomains; preload' | ||
X-Content-Type-Options = 'nosniff' | ||
X-Frame-Options = 'SAMEORIGIN' | ||
X-XSS-Protection = '1; mode=block' | ||
cache-control = 'max-age=0, no-cache, no-store, must-revalidate ' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# toml-docs-start netlify | ||
[build] | ||
publish = "exampleSite/public" | ||
command = "npm run build:example" | ||
|
||
[build.environment] | ||
DART_SASS_VERSION = "1.78.0" | ||
HUGO_VERSION = "0.134.1" | ||
HUGO_ENV = "production" | ||
HUGO_ENABLEGITINFO = "true" | ||
NODE_VERSION = "20.17.0" | ||
NPM_VERSION = "10.8.2" | ||
# toml-docs-end netlify | ||
|
||
[context.deploy-preview] | ||
command = "npm run build:example -- -b $DEPLOY_PRIME_URL" | ||
|
||
[context.branch-deploy] | ||
command = "npm run build:example -- -b $DEPLOY_PRIME_URL" | ||
|
||
[dev] | ||
framework = "#custom" | ||
command = "npm run start:example" | ||
targetPort = 1313 | ||
port = 8888 | ||
publish = "public" | ||
autoLaunch = false | ||
|
||
# toml-docs-start plugins | ||
[[plugins]] | ||
package = "@gethinode/netlify-plugin-dartsass" | ||
|
||
[[plugins]] | ||
package = "netlify-plugin-hugo-cache-resources" | ||
# toml-docs-end plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# toml-docs-start server-config | ||
[[headers]] | ||
for = "/**" | ||
[headers.values] | ||
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload" | ||
X-Content-Type-Options = "nosniff" | ||
X-XSS-Protection = "1; mode=block" | ||
X-Frame-Options = "SAMEORIGIN" | ||
Referrer-Policy = "strict-origin" | ||
Permissions-Policy = """\ | ||
geolocation=(), \ | ||
midi=(), \ | ||
sync-xhr=(), \ | ||
microphone=(), \ | ||
camera=(), \ | ||
magnetometer=(), \ | ||
gyroscope=(), \ | ||
fullscreen=(), \ | ||
payment=() \ | ||
""" | ||
cache-control = """\ | ||
max-age=0, \ | ||
no-cache, \ | ||
no-store, \ | ||
must-revalidate \ | ||
""" | ||
Access-Control-Allow-Origin = "*" | ||
Content-Security-Policy = """\ | ||
default-src 'none'; \ | ||
script-src 'self'; \ | ||
font-src 'self'; \ | ||
connect-src 'self'; \ | ||
img-src 'self'; \ | ||
style-src 'self'; \ | ||
base-uri 'self'; \ | ||
object-src 'none'; \ | ||
form-action 'self'; \ | ||
manifest-src 'self'; \ | ||
media-src 'self' \ | ||
""" | ||
# toml-docs-end server-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.