Skip to content

Commit

Permalink
PUSH
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed Jun 7, 2024
1 parent 98b7a0e commit cded0f5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/react-frontend/src/Components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ function NavBar() {
<ul className="nav-list">
<li>
<a href="/">
<img className="logo" src="src/Images/yes.png"/>
<img className="logo" src="src/images/yes.png"/>
<img className="logo" src="assets/yes.png"/>
<img className="logo" src="yes.png"/>
<img className="logo" src="../yes.png"/>
<img className="logo" src="../Images/yes.png"/>
<img className="logo" src="./Images/yes.png"/>
<img className="logo" src="../images/yes.png"/>
<img className="logo" src="./images/yes.png"/>
</a>
</li>
<li className="hover">
Expand Down
27 changes: 24 additions & 3 deletions packages/react-frontend/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
{
"routes": [
{
"route": "/images/*",
"serve": "/images"
},
{
"route": "/*",
"serve": "/index.html",
"statusCode": 200
}
],
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/Images/*.{png,jpg,gif}"]
"rewrite": "/index.html",
"exclude": ["/images/*"]
},
"headers": {
"source": "/images/*",
"headers": [
{
"name": "Content-Type",
"value": "image/png"
}
]
}
}
}

0 comments on commit cded0f5

Please sign in to comment.