Skip to content

Commit

Permalink
Create config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
phutelmyer committed Jul 3, 2024
1 parent 8d3cec7 commit 024610a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ui/src/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const APP_CONFIG = {
BACKEND_URL: process.env.REACT_APP_BACKEND_URL || "/api",
DEFAULT_EXCLUDED_SUBMITTERS: process.env.DEFAULT_EXCLUDED_SUBMITTERS || ["User_1"],
API_TIMEOUT: 60000,
LOGIN_TIMEOUT: 30000,
SEARCH_URL: process.env.REACT_APP_SEARCH_URL,
SEARCH_NAME: process.env.REACT_APP_SEARCH_NAME
};

export { APP_CONFIG };

0 comments on commit 024610a

Please sign in to comment.