Я тестирую мое приложение стека MERN, и когда я обновляю sh браузер на нескольких компонентах, я получаю следующие ошибки:
The resource from “http://localhost:3000/profile/assets/css/bootstrap.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
5e85ba9010ae8d2e58bed308
The resource from “http://localhost:3000/profile/assets/css/mdb.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
5e85ba9010ae8d2e58bed308
The resource from “http://localhost:3000/profile/assets/css/styles.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
5e85ba9010ae8d2e58bed308
The resource from “http://localhost:3000/profile/assets/js/jquery.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
5e85ba9010ae8d2e58bed308
The resource from “http://localhost:3000/profile/assets/js/popper.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
5e85ba9010ae8d2e58bed308
The resource from “http://localhost:3000/profile/assets/js/bootstrap.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
5e85ba9010ae8d2e58bed308
Loading failed for the <script> with source “http://localhost:3000/profile/assets/js/jquery.min.js”. 5e85ba9010ae8d2e58bed308:31:1
The resource from “http://localhost:3000/profile/assets/js/mdb.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
5e85ba9010ae8d2e58bed308
The resource from “http://localhost:3000/profile/assets/js/popper.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
Когда компонент загружается в первый раз, он нормально загружается с Весь дизайн и форматирование в целости и сохранности. Когда я нажимаю кнопку refre sh, вся стилизация исчезает и становится простым текстом.
Я использую Redux и React.