2017-07-13 11:14:55 +02:00
|
|
|
{
|
|
|
|
|
"hosting": {
|
2021-02-05 20:45:13 +02:00
|
|
|
"public": "deploy",
|
2018-01-18 13:35:55 +01:00
|
|
|
"redirects": [
|
|
|
|
|
{
|
|
|
|
|
"source": "/error/:namespace\\::error*",
|
|
|
|
|
"destination": "/error/:namespace/:error*",
|
|
|
|
|
"type": 302
|
|
|
|
|
}
|
|
|
|
|
],
|
2017-07-13 11:14:55 +02:00
|
|
|
"rewrites": [
|
|
|
|
|
{
|
2018-02-12 10:49:19 +01:00
|
|
|
"source": "**/*!(.@(jpg|jpeg|gif|png|html|js|map|json|css|svg|ttf|txt|woff|woff2|eot|xml))",
|
|
|
|
|
"function": "sendFile"
|
2017-07-13 11:14:55 +02:00
|
|
|
}
|
2018-02-15 11:54:14 +01:00
|
|
|
],
|
|
|
|
|
"headers": [
|
2018-03-01 12:03:51 +01:00
|
|
|
{
|
|
|
|
|
"source": "/examples/**.csp/*.html",
|
|
|
|
|
"headers": [{
|
|
|
|
|
"key": "Content-Security-Policy",
|
|
|
|
|
"value": "default-src 'self'"
|
|
|
|
|
}]
|
|
|
|
|
},
|
2018-02-15 11:54:14 +01:00
|
|
|
{
|
2018-02-18 20:32:04 +01:00
|
|
|
"source": "/Error404.html",
|
|
|
|
|
"headers" : [{
|
|
|
|
|
"key" : "X-Robots-Tag",
|
|
|
|
|
"value" : "noindex"
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"source": "/@(partials|examples)/**",
|
2018-02-15 11:54:14 +01:00
|
|
|
"headers" : [{
|
|
|
|
|
"key" : "X-Robots-Tag",
|
|
|
|
|
"value" : "noindex"
|
|
|
|
|
}]
|
|
|
|
|
}
|
2017-07-13 11:14:55 +02:00
|
|
|
]
|
|
|
|
|
}
|
2018-02-12 10:49:19 +01:00
|
|
|
}
|