How to change path to favicon in next.js?
Answered
Yellowhead catfish posted this in #help-forum
Yellowhead catfishOP
I want to make sure that the favicon is not in src/app but conditionally in src/img
Answered by risky
It either needs to be in app folder or public folder where you set its location in metadata object
8 Replies
Yellowhead catfishOP
I want to make sure that the favicon is not in src/app but conditionally in src/img
It either needs to be in app folder or public folder where you set its location in metadata object
Answer
I mean if you use git you can do some sketchy simlinks but pls don't
Asian black bear
🙂 fastest answer
in 2mins 😁
@risky I mean if you use git you can do some sketchy simlinks but pls don't
technically you can put the image anywhere and use
.src
from importing the image, but yeah that's way too overkillhmm that would be useful for monorepos though
OK the 3rd option is to host the favicon on different server (i forgot about it)