Merge pull request #31 from nusserstudios/dev

Added vercel.json with build env and headers.
This commit is contained in:
Nusser Studios 2022-11-01 14:54:26 -05:00 committed by GitHub
commit 6047725f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 0 deletions

11
.vercel/README.txt Normal file
View File

@ -0,0 +1,11 @@
> Why do I have a folder named ".vercel" in my project?
The ".vercel" folder is created when you link a directory to a Vercel project.
> What does the "project.json" file contain?
The "project.json" file contains:
- The ID of the Vercel project that you linked ("projectId")
- The ID of the user or team your Vercel project is owned by ("orgId")
> Should I commit the ".vercel" folder?
No, you should not share the ".vercel" folder with anyone.
Upon creation, it will be automatically added to your ".gitignore" file.

1
.vercel/project.json Normal file
View File

@ -0,0 +1 @@
{"projectId":"prj_GmHloLxsA85m9oh3j24XukHn1I0p","orgId":"AVKCWAV42DMOv7q1gyi0Mtvn"}

34
vercel.json Normal file
View File

@ -0,0 +1,34 @@
{
"build": {
"env": {
"HUGO_VERSION": "0.105.0"
}
},
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Strict-Transport-Security",
"value": "max-age=31536000; includeSubDomains; preload"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Powered-By",
"value": "Hugo"
}
]
}
]
}