opensaas favicon

hi, how do you change the favicon using opensaas? I’ve changed the file in static, but I think it doesn’t change the favicon too.
14 Replies
Vinny (@Wasp)
Vinny (@Wasp)9mo ago
Static Asset Handling | Wasp
Importing an Asset as URL
simonecanc
simonecancOP9mo ago
thank you! just for clarity, there isn’t any favicon.ico rn in /public, so it isn’t declared anywhere? I’ve just to put the file in the folder right?
Vinny (@Wasp)
Vinny (@Wasp)9mo ago
I think so. Maybe @miho knows better.
miho
miho9mo ago
We put a default favicon if you don't define one 🙂 add public/favicon.ico and you are good to go
martinsos
martinsos9mo ago
Now that we have public/favicon.ico as a way to define favicon, I wonder if we should remove the default one we generate, and instead put initial favicon in public/, which will make it a bit less magical while also showing clearly where the favicon goes?
miho
miho9mo ago
I've commented that exact same thing in one of the issues! Agree 100% 👍
Filip
Filip9mo ago
Yes, and we can then get rid of the gitkeep file
simonecanc
simonecancOP9mo ago
Hey guys, didn't work for me.. i put favicon.ico in app/public
martinsos
martinsos9mo ago
Ah yes saw it soon after I commented here, perfect :)!
simonecanc
simonecancOP9mo ago
can you help me?
MEE6
MEE69mo ago
Wohooo @simonecanc, you just became a Waspeteer level 2!
miho
miho9mo ago
I've put a favicon.ico file in the app/public folder. The list of files looks like this:
public
├── banner.png
├── favicon.ico
└── public-banner.png
public
├── banner.png
├── favicon.ico
└── public-banner.png
And I see the new favicon in my browser. Maybe you need to refresh your tab with CTRL + SHIFT + R or CMD + SHIFT + R to clear the cache?
No description
martinsos
martinsos8mo ago
@simonecanc how did this go for you?
Want results from more Discord servers?
Add your server