Skip to content

Commit

Permalink
update env.js file in frontend module
Browse files Browse the repository at this point in the history
  • Loading branch information
Borelli-7 committed Jan 14, 2024
1 parent 574b548 commit 2edade0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/datasafe-ui/src/env.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(function (window) {
window.__env = window.__env || {};

window.__env.apiUrl = '${API_URL}';
window.__env.apiUrl = 'http://localhost:8080';
// ideally these are not necessary, but API is protected, so supplying it for docker-local deployment
window.__env.apiUsername = '${API_USERNAME}';
window.__env.apiPassword = '${API_PASSWORD}';
window.__env.apiUsername = 'username';
window.__env.apiPassword = 'password';

}(this));

0 comments on commit 2edade0

Please sign in to comment.