Compare commits

...

1 Commits

Author SHA1 Message Date
Dmitry dafeb00741 new feature
7 months ago

@ -14,12 +14,11 @@ const server = http.createServer(async (req, res) => {
<title>simple_server</title> <title>simple_server</title>
</head> </head>
<body> <body>
<h1>HTML</h1> <h1>HTML2</h1>
</body> </body>
</html> </html>
`; `;
// Отправка HTML клиенту
res.end(htmlContent); res.end(htmlContent);
} catch (error) { } catch (error) {
console.error('Ошибка:', error.message); console.error('Ошибка:', error.message);

Loading…
Cancel
Save

Powered by TurnKey Linux.