An Azure service that provides streamlined full-stack web app development.
Hi @Miroslav Turek ,
Thank you for reaching out to Microsoft Q&A.
Make sure the staticwebapp.config.json file is located in the root directory of your application, and try the below configuration:
{
"routes": [
{
"route": "/details/*",
"serve": "/index.html",
"statusCode":200
}
],
"navigationFallback": {
"rewrite": "/index.html",
"exclude":["/api/*]
}
}
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.