31 lines
661 B
JSON
31 lines
661 B
JSON
{
|
|
"version": 2,
|
|
"cleanUrls": true,
|
|
"trailingSlash": false,
|
|
"rewrites": [
|
|
{ "source": "/api", "destination": "/api.html" },
|
|
{ "source": "/api/", "destination": "/api.html" },
|
|
{ "source": "/git", "destination": "/git.html" },
|
|
{ "source": "/git/", "destination": "/git.html" }
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Access-Control-Allow-Origin",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "SAMEORIGIN"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|