fraudTech commited on
Commit
c0d8b3f
·
1 Parent(s): 163f266

Fix backend URL to point to production backend Space

Browse files
Files changed (1) hide show
  1. gateway.ts +2 -2
gateway.ts CHANGED
@@ -9,9 +9,9 @@ import rateLimit from 'express-rate-limit';
9
  dotenv.config();
10
 
11
  const app = express();
12
- const PORT = process.env.PORT || 3001;
13
  const JWT_SECRET = process.env.JWT_SECRET || 'your-secret-key-change-this';
14
- const BACKEND_URL = process.env.BACKEND_URL || 'http://localhost:7860';
15
 
16
  // In production, store users in a database
17
  // For demo purposes, using in-memory storage with hashed passwords
 
9
  dotenv.config();
10
 
11
  const app = express();
12
+ const PORT = process.env.PORT || 7860;
13
  const JWT_SECRET = process.env.JWT_SECRET || 'your-secret-key-change-this';
14
+ const BACKEND_URL = process.env.BACKEND_URL || 'https://deepthoughtai-evo-backend.hf.space';
15
 
16
  // In production, store users in a database
17
  // For demo purposes, using in-memory storage with hashed passwords