How to custome the request URL for favicon.ico. And the favicon.ico did not load correctly

I am using react to build my web page. I placed my favicon.ico in my public/img folder. And the href of favicon.ico has set to /img/favicon.ico. But the favicon can not be load. After I check the favicon.ico request url in Chrome it is still http://localhost:3000/favicon.ico. I want the request url be http://localhost:3000/img/favicon.ico This is… Read More How to custome the request URL for favicon.ico. And the favicon.ico did not load correctly

Axios Request returns 404 even though URL is valid and the API functions correctly

I’ve been working on making a simple website that handles information for a MySQL database of books. Intro/Problem: I’ve gotten the server (spring-boot), database (MySQL) and website (React) running as they’re expected to with the sole exception of one particular GET request even though there doesn’t seem to be anything wrong with it at all.… Read More Axios Request returns 404 even though URL is valid and the API functions correctly

Extracted favicon using "chrome://favicon/size/16@3x/" doesn't load the favicon

I am trying to load the favicon of a different website using chrome favicon API chrome://favicon/size/16@3x/ when loading the page it shows a broken Icon. Example code: <img class="img-favicon" alt="icon" src="chrome://favicon/size/16@3x/https://replit.com/~" Am I missing something what is it that I am doing wrong here? Any help, please. Thank you so much in advance. >Solution :… Read More Extracted favicon using "chrome://favicon/size/16@3x/" doesn't load the favicon