Skip to content

Commit

Permalink
fix: dont rewrite static assets to index
Browse files Browse the repository at this point in the history
should fix resources not giving 404 errors
  • Loading branch information
Miodec committed Feb 23, 2024
1 parent 6db321c commit a1ba4a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
"destination": "/adtest.html"
},
{
"source": "**",
"source": "/test",
"destination": "/index.html"
},
{
"source": "!/@(js|about|challenges|css|fonts|funbox|images|languages|layouts|quotes|sound|themes|webfonts)/**",
"destination": "/index.html"
}
],
Expand Down

0 comments on commit a1ba4a9

Please sign in to comment.