mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 18:03:30 +08:00
345740db5f
* Add request validation to user endpoints * Remove tag id log * Remove verbs from endpoints * Remove old code * Remove uid * Fix * Remove name from URI * Rename utils * Fix * Move prettier * Update gulp file * Add additional scripts * Update package-lock * Update contributing.md Co-authored-by: Miodec <bartnikjack@gmail.com>
30 lines
633 B
JSON
30 lines
633 B
JSON
{
|
|
"hosting": {
|
|
"public": "public",
|
|
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
|
|
"rewrites": [
|
|
{
|
|
"source": "/privacy-policy",
|
|
"destination": "/privacy-policy.html"
|
|
},
|
|
{
|
|
"source": "**",
|
|
"destination": "/index.html"
|
|
}
|
|
],
|
|
"cleanUrls": true,
|
|
"trailingSlash": false,
|
|
"headers": [
|
|
{
|
|
"source": "**/*",
|
|
"headers": [
|
|
{
|
|
"key": "Content-Security-Policy",
|
|
"value": "frame-ancestors 'none'"
|
|
},
|
|
{ "key": "X-Frame-Options", "value": "DENY" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|