Skip to content

Commit

Permalink
added env.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
August Andersen committed May 2, 2024
1 parent 55a69e5 commit 3c90deb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -45,5 +45,3 @@ testem.log
# System Files
.DS_Store
Thumbs.db

src/assets/env.js
9 changes: 9 additions & 0 deletions src/assets/env.js
@@ -0,0 +1,9 @@
// This file will be overwritten when running in Docker using env.template.js and envsubst
(function (window) {
window["env"] = window["env"] || {};
window["env"].PRODUCTION = false;
window["env"].BASE_URL = "http://localhost:3000/api/v1/"; // For local testing
window["env"].TABLE_PAGE_SIZE = 25; // For local testing
window["env"].DAF_USERNAME = "";
window["env"].DAF_PASSWORD = "";
})(this);

0 comments on commit 3c90deb

Please sign in to comment.