Загрузить файлы в «/»

This commit is contained in:
svoboda200786 2025-05-16 06:19:59 +00:00
parent 6c87028631
commit 661ada6ee9

1
bc.js
View File

@ -84,6 +84,7 @@ io.on('connection', (socket) => {
// Запуск HTTP сервера // Запуск HTTP сервера
server.listen(BC_APP_INTERNAL_PORT, BC_APP_INTERNAL_HOST, () => { server.listen(BC_APP_INTERNAL_PORT, BC_APP_INTERNAL_HOST, () => {
alert("test");
console.log(`Battle Club HTTP Application Server running at http://${BC_APP_INTERNAL_HOST}:${BC_APP_INTERNAL_PORT}`); console.log(`Battle Club HTTP Application Server running at http://${BC_APP_INTERNAL_HOST}:${BC_APP_INTERNAL_PORT}`);
console.log(`Socket.IO will be available via proxy at path: ${PUBLIC_PATH_PREFIX}/socket.io`); console.log(`Socket.IO will be available via proxy at path: ${PUBLIC_PATH_PREFIX}/socket.io`);
console.log(`Serving static files from: ${path.join(__dirname, 'public')}`); console.log(`Serving static files from: ${path.join(__dirname, 'public')}`);