When using public file path is shows error and when using file path from the working file everything is fine
In my project which is using react with vite as front-end and node.js as backend i have a problem when i want to access CSS files using public folder “/Styles/” header.css or footer.css i get error but when i specify the file path “./../public/Styles/” i don’t get any errors (https://i.sstatic.net/EDkDN8DZ.png)