Skip to content

Commit

Permalink
Update utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
victorleaoo authored Jul 26, 2024
1 parent b05c996 commit 8183994
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import dotenv from 'dotenv';

dotenv.config();

const USER_API_URL = process.env["USER_API_URL"] || 'http://localhost:8000';
const VIDEO_API_URL = process.env["VIDEO_API_URL"] || 'http://localhost:8001';
const USER_API_URL = process.env["USER_API_URL"] || 'http://localhost:8001';
const VIDEO_API_URL = process.env["VIDEO_API_URL"] || 'http://localhost:8002';
const ADMIN_API_URL = process.env["ADMIN_API_URL"] || 'http://localhost:8080';

const getUrl = (req: Request) => {
Expand Down Expand Up @@ -34,4 +34,4 @@ const getHost = (req: Request) => {
}
}

export { getHost, getUrl }
export { getHost, getUrl }

0 comments on commit 8183994

Please sign in to comment.