fix(aio): use cleanUrls option rather than bruteforce rewriting rule (#14547)

the cleanUrls option is smarter and looks at headers and mime type to route requests correctly.
This commit is contained in:
Igor Minar 2017-02-16 15:26:59 -08:00 committed by GitHub
parent b1a79fd2ec
commit 8c20aaa328
1 changed files with 1 additions and 6 deletions

View File

@ -4,11 +4,6 @@
}, },
"hosting": { "hosting": {
"public": "dist", "public": "dist",
"rewrites": [ "cleanUrls": true
{
"source": "**",
"destination": "/index.html"
}
]
} }
} }