//you probably have something like this already
Then put your favicon in public and add the following line in your html's head:
<link rel="icon" href="/public/favicon.ico">
Hope it works!!