Javascript-форум (https://javascript.ru/forum/)
-   Библиотеки/Тулкиты/Фреймворки (https://javascript.ru/forum/library-toolkit-framework/)
-   -   react.js map, что то не фурычет а должно (https://javascript.ru/forum/library-toolkit-framework/86502-react-js-map-chto-ne-furychet-dolzhno.html)

riaron86 20.06.2025 16:00

в консоли при коде без изменений выдает
Download the React DevTools for a better development experience: https://react.dev/link/react-devtools
:8081/users:1


Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR
:8081/users:1


Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR
localhost/:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
localhost/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
[NEW] Explain Console errors by using Copilot in Edge: click

to explain an error.
Learn more

вот данные в базе

1 fvdwfvsrbgbrgbebrebgr3bg3rwbg3rwe Vova megaPupper
2 aethqwrtgwgdhjmdtne5st4trj65erzdzxnsynrtx Vasya ssupper
3 smndnjkmd,kzs,kssksk Petya pupper

Nexus 20.06.2025 17:14

riaron86, отправляй запрос не на https://localhost:8081, а на http://localhost:8081

riaron86 20.06.2025 18:45

получилось спасибо, а что надо делать чтобы получить на https?

Nexus 20.06.2025 18:49

riaron86, установить сертификат на localhost и научить приложение на nodejs с ним работать либо спрятать nodejs за revers proxy, который в свою очередь будет уметь в ssl.


Часовой пояс GMT +3, время: 07:30.