Skip to content

Commit 3c90deb

Browse files
added env.js.
1 parent 55a69e5 commit 3c90deb

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ testem.log
4545
# System Files
4646
.DS_Store
4747
Thumbs.db
48-
49-
src/assets/env.js

src/assets/env.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// This file will be overwritten when running in Docker using env.template.js and envsubst
2+
(function (window) {
3+
window["env"] = window["env"] || {};
4+
window["env"].PRODUCTION = false;
5+
window["env"].BASE_URL = "http://localhost:3000/api/v1/"; // For local testing
6+
window["env"].TABLE_PAGE_SIZE = 25; // For local testing
7+
window["env"].DAF_USERNAME = "";
8+
window["env"].DAF_PASSWORD = "";
9+
})(this);

0 commit comments

Comments
 (0)