в консоли при коде без изменений выдает
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 |
riaron86, отправляй запрос не на https://localhost:8081, а на http://localhost:8081
|
получилось спасибо, а что надо делать чтобы получить на https?
|
riaron86, установить сертификат на localhost и научить приложение на nodejs с ним работать либо спрятать nodejs за revers proxy, который в свою очередь будет уметь в ssl.
|
Часовой пояс GMT +3, время: 07:30. |