Skip to content

Commit

Permalink
refactor: Update set-env script to use localhost IP address for API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
yosvelquintero committed Jun 21, 2024
1 parent 3e8ead0 commit 943b1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { resolve } = require('path');

const isProduction = process.argv[2] === 'production';
const oidcKey = process.env.CONSOLE_OIDC_KEY;
const apiUrl = process.env.CONSOLE_API_URL || 'http://localhost:4200';
const apiUrl = process.env.CONSOLE_API_URL || 'http://127.0.0.1:5000';
const targetPath = resolve(
__dirname,
`apps/restorecommerce/src/environments/environment${
Expand Down

0 comments on commit 943b1d7

Please sign in to comment.