Revision 60122
Added by Stefania Martziou almost 3 years ago
modules/open-science-observatory-ui/trunk/angular.json | ||
---|---|---|
56 | 56 |
"maximumError": "5mb" |
57 | 57 |
} |
58 | 58 |
] |
59 |
}, |
|
60 |
"beta": { |
|
61 |
"fileReplacements": [ |
|
62 |
{ |
|
63 |
"replace": "src/environments/environment.ts", |
|
64 |
"with": "src/environments/environment.beta.ts" |
|
65 |
} |
|
66 |
], |
|
67 |
"optimization": true, |
|
68 |
"outputHashing": "all", |
|
69 |
"sourceMap": false, |
|
70 |
"extractCss": true, |
|
71 |
"namedChunks": false, |
|
72 |
"aot": true, |
|
73 |
"extractLicenses": true, |
|
74 |
"vendorChunk": false, |
|
75 |
"buildOptimizer": true, |
|
76 |
"budgets": [ |
|
77 |
{ |
|
78 |
"type": "initial", |
|
79 |
"maximumWarning": "2mb", |
|
80 |
"maximumError": "5mb" |
|
81 |
} |
|
82 |
] |
|
59 | 83 |
} |
60 | 84 |
} |
61 | 85 |
}, |
modules/open-science-observatory-ui/trunk/src/environments/environment.beta.ts | ||
---|---|---|
1 |
export const environment = { |
|
2 |
production: true, |
|
3 |
// API_ENDPOINT: '/api', |
|
4 |
environmentName: 'beta', |
|
5 |
API_ENDPOINT: 'https://beta.services.openaire.eu/stats-tool/', |
|
6 |
FAQ_ENDPOINT: '/uoa-admin-tools/api', |
|
7 |
FAQ_HOMEPAGE: '/uoa-admin-tools/dashboard' |
|
8 |
}; |
modules/open-science-observatory-ui/trunk/src/environments/environment.ts | ||
---|---|---|
5 | 5 |
export const environment = { |
6 | 6 |
production: false, |
7 | 7 |
// API_ENDPOINT: '/uoa-repository-manager-service', |
8 |
environmentName: 'dev', |
|
8 | 9 |
API_ENDPOINT: 'https://stats.madgik.di.uoa.gr/stats-api/', |
9 | 10 |
FAQ_ENDPOINT: 'http://audrey.athenarc.gr:5555/api', |
10 | 11 |
FAQ_HOMEPAGE: 'http://audrey.athenarc.gr:5555' |
modules/open-science-observatory-ui/trunk/src/environments/environment.prod.ts | ||
---|---|---|
1 | 1 |
export const environment = { |
2 | 2 |
production: true, |
3 | 3 |
// API_ENDPOINT: '/api', |
4 |
environmentName: 'prod', |
|
4 | 5 |
API_ENDPOINT: 'https://beta.services.openaire.eu/stats-tool/', |
5 | 6 |
FAQ_ENDPOINT: '/uoa-admin-tools/api', |
6 | 7 |
FAQ_HOMEPAGE: '/uoa-admin-tools/dashboard' |
Also available in: Unified diff
Created different configuration env file for beta