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:
parent
b1a79fd2ec
commit
8c20aaa328
|
@ -4,11 +4,6 @@
|
|||
},
|
||||
"hosting": {
|
||||
"public": "dist",
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "**",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
]
|
||||
"cleanUrls": true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue