diff options
Diffstat (limited to 'staticwebapp.config.json')
| -rw-r--r-- | staticwebapp.config.json | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/staticwebapp.config.json b/staticwebapp.config.json index d404c78..0a5f88a 100644 --- a/staticwebapp.config.json +++ b/staticwebapp.config.json @@ -3,6 +3,16 @@ "X-Frame-Options": "DENY", "X-Content-Type-Options": "nosniff", "X-XSS-Protection": "1; mode=block", - "Content-Security-Policy": "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'" + "Content-Security-Policy": "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'" + }, + "routes": [ + { + "route": "/vcard", + "rewrite": "/vcard.vcf", + "statusCode": 301 + } + ], + "mimeTypes": { + ".vcf": "text/vcard" } }
\ No newline at end of file |
