File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // Central environment configuration for TPEN-interfaces
2+ // Set ACTIVE_ENV to 'dev' or 'prod' to switch environments.
3+
4+ // Change this line to switch environments
5+ export const ACTIVE_ENV = 'dev' // 'dev' | 'prod'
6+
7+ export const ENVIRONMENTS = {
8+ dev : {
9+ BASEURL : 'https://dev.app.t-pen.org' ,
10+ servicesURL : 'https://dev.api.t-pen.org' ,
11+ tinyThingsURL : 'https://dev.tiny.t-pen.org' ,
12+ RERUMURL : 'https://devstore.rerum.io/v1' ,
13+ TPEN28URL : 'https://t-pen.org' ,
14+ TPEN3URL : 'https://three.t-pen.org' ,
15+ } ,
16+ prod : {
17+ BASEURL : 'https://app.t-pen.org' ,
18+ servicesURL : 'https://api.t-pen.org' ,
19+ tinyThingsURL : 'https://tiny.t-pen.org' ,
20+ RERUMURL : 'https://store.rerum.io/v1' ,
21+ TPEN28URL : 'https://t-pen.org' ,
22+ TPEN3URL : 'https://three.t-pen.org' ,
23+ }
24+ }
25+
26+ export const CONFIG = {
27+ env : ACTIVE_ENV ,
28+ ...ENVIRONMENTS [ ACTIVE_ENV ]
29+ }
You can’t perform that action at this time.
0 commit comments