Skip to content

Commit

Permalink
modify axios url so that in prod it makes requests locally within the…
Browse files Browse the repository at this point in the history
… container
  • Loading branch information
dreth committed Jul 25, 2024
1 parent bd59e35 commit cfd6dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/lib/api/axiosConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios';

let baseURL = 'http://localhost:8417';
if (process.env.ENVIRONMENT === 'production') {
baseURL = 'https://hbd.lotiguere.com/api';
baseURL = 'https://127.0.0.1:8418';
}

// Create an Axios instance
Expand Down

0 comments on commit cfd6dae

Please sign in to comment.