From 6de5e63841eb76f9fba2ea1ca5b67ac7c0757c7e Mon Sep 17 00:00:00 2001 From: Waleed Amjad Date: Sat, 25 Apr 2026 15:26:54 +0500 Subject: [PATCH] NEW RELEASE --- README.md | 2 +- server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c44c23..4bb2680 100644 --- a/README.md +++ b/README.md @@ -201,7 +201,7 @@ node server.js The console will confirm: `[CYPHER-HR] Server active on port 5200` and `[CYPHER-HR] Database connected`. ### Step 6: Initial Setup Wizard -1. Open your web browser and navigate to **`http://localhost:5200`**. +1. Open your web browser and navigate to **`http://0.0.0.0:5200`** (or your server's IP address). 2. Because it is the first time running the system, CYPHER-HR will automatically present the **System Setup Wizard**. 3. Follow the UI prompts to configure your company details and create your Master Administrator account. 4. Log in and begin adding your employees! diff --git a/server.js b/server.js index f8ce8bc..78b00ec 100644 --- a/server.js +++ b/server.js @@ -391,7 +391,7 @@ async function start() { const now = new Date(); if (now.getDate() === 1 && now.getHours() === 0) await resetMonthlyBalances(); }, 3600000); - app.listen(PORT, () => console.log(`CYPHER-HR running on http://localhost:${PORT}`)); + app.listen(PORT, '0.0.0.0', () => console.log(`CYPHER-HR running on http://0.0.0.0:${PORT}`)); } catch (err) { console.error('Failed to start:', err); process.exit(1); } }