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
I believe you just add a favicon here --> https://wasp-lang.dev/docs/project/static-assets#the-public-directory
Static Asset Handling | Wasp
Importing an Asset as URL
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?
I think so. Maybe @miho knows better.
We put a default favicon if you don't define one 🙂 add
public/favicon.ico
and you are good to goNow 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?I've commented that exact same thing in one of the issues! Agree 100% 👍
Yes, and we can then get rid of the gitkeep file
Hey guys, didn't work for me.. i put favicon.ico in app/public
Ah yes saw it soon after I commented here, perfect :)!
can you help me?
Wohooo @simonecanc, you just became a Waspeteer level 2!
I've put a
favicon.ico
file in the app/public
folder. The list of files looks like this:
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?@simonecanc how did this go for you?
Tracked here: https://github.com/wasp-lang/wasp/issues/1979