Created different configuration env file for beta
This commit is contained in:
parent
c391560aec
commit
c93d714c20
24
angular.json
24
angular.json
|
@ -56,6 +56,30 @@
|
||||||
"maximumError": "5mb"
|
"maximumError": "5mb"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"beta": {
|
||||||
|
"fileReplacements": [
|
||||||
|
{
|
||||||
|
"replace": "src/environments/environment.ts",
|
||||||
|
"with": "src/environments/environment.beta.ts"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"optimization": true,
|
||||||
|
"outputHashing": "all",
|
||||||
|
"sourceMap": false,
|
||||||
|
"extractCss": true,
|
||||||
|
"namedChunks": false,
|
||||||
|
"aot": true,
|
||||||
|
"extractLicenses": true,
|
||||||
|
"vendorChunk": false,
|
||||||
|
"buildOptimizer": true,
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "initial",
|
||||||
|
"maximumWarning": "2mb",
|
||||||
|
"maximumError": "5mb"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
export const environment = {
|
||||||
|
production: true,
|
||||||
|
// API_ENDPOINT: '/api',
|
||||||
|
environmentName: 'beta',
|
||||||
|
API_ENDPOINT: 'https://beta.services.openaire.eu/stats-tool/',
|
||||||
|
FAQ_ENDPOINT: '/uoa-admin-tools/api',
|
||||||
|
FAQ_HOMEPAGE: '/uoa-admin-tools/dashboard'
|
||||||
|
};
|
|
@ -1,6 +1,7 @@
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
// API_ENDPOINT: '/api',
|
// API_ENDPOINT: '/api',
|
||||||
|
environmentName: 'prod',
|
||||||
API_ENDPOINT: 'https://beta.services.openaire.eu/stats-tool/',
|
API_ENDPOINT: 'https://beta.services.openaire.eu/stats-tool/',
|
||||||
FAQ_ENDPOINT: '/uoa-admin-tools/api',
|
FAQ_ENDPOINT: '/uoa-admin-tools/api',
|
||||||
FAQ_HOMEPAGE: '/uoa-admin-tools/dashboard'
|
FAQ_HOMEPAGE: '/uoa-admin-tools/dashboard'
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
// API_ENDPOINT: '/uoa-repository-manager-service',
|
// API_ENDPOINT: '/uoa-repository-manager-service',
|
||||||
|
environmentName: 'dev',
|
||||||
API_ENDPOINT: 'https://stats.madgik.di.uoa.gr/stats-api/',
|
API_ENDPOINT: 'https://stats.madgik.di.uoa.gr/stats-api/',
|
||||||
FAQ_ENDPOINT: 'http://audrey.athenarc.gr:5555/api',
|
FAQ_ENDPOINT: 'http://audrey.athenarc.gr:5555/api',
|
||||||
FAQ_HOMEPAGE: 'http://audrey.athenarc.gr:5555'
|
FAQ_HOMEPAGE: 'http://audrey.athenarc.gr:5555'
|
||||||
|
|
Loading…
Reference in New Issue