Revision 51440
Added by Myrto Koukouli about 6 years ago
webpack.config.js | ||
---|---|---|
97 | 97 |
new webpack.DefinePlugin({ |
98 | 98 |
"process.env": { |
99 | 99 |
PRODUCTION: JSON.stringify(false), |
100 |
API_ENDPOINT: JSON.stringify(process.env.API_ENDPOINT || "http://194.177.192.121:8380/uoa-repository-manager-service"), |
|
101 |
FAQ_ENDPOINT: JSON.stringify(process.env.FAQ_ENDPOINT || "http://83.212.101.85:5555/api/"), |
|
102 |
CONNECTOR_API_ENDPOINT: JSON.stringify(process.env.CONNECTOR_API_ENDPOINT || "http://localhost:8888/content-connector-service"), |
|
103 |
WORKFLOW_API_ENDPOINT: JSON.stringify(process.env.WORKFLOW_API_ENDPOINT || "https://dev.openminted.eu:8881"), |
|
104 |
OIDC_ENDPOINT: JSON.stringify(process.env.OIDC_ENDPOINT || "http://localhost:8080/omtd-registry/openid_connect_login"), |
|
105 |
AAI_ENDPOINT: JSON.stringify(process.env.AAI_ENDPOINT || "https://aai.openminted.eu/oidc") |
|
100 |
API_ENDPOINT: JSON.stringify(process.env.API_ENDPOINT || "http://aleka.athenarc.gr:8380/repomanager-service-dev"), |
|
101 |
FAQ_ENDPOINT: JSON.stringify(process.env.FAQ_ENDPOINT || "http://aleka.athenarc.gr:5555"), |
|
102 |
WORKFLOW_API_ENDPOINT: JSON.stringify(process.env.WORKFLOW_API_ENDPOINT || "https://aleka.athenarc.gr"), |
|
103 |
AAI_ENDPOINT: JSON.stringify(process.env.AAI_ENDPOINT || "http://aleka.athenarc.gr:8380/repomanager-service-dev/openid_connect_login") |
|
106 | 104 |
} |
107 | 105 |
}) |
108 | 106 |
); |
... | ... | |
127 | 125 |
new webpack.DefinePlugin({ |
128 | 126 |
"process.env": { |
129 | 127 |
PRODUCTION: JSON.stringify(true), |
130 |
API_ENDPOINT: JSON.stringify("/api"), |
|
131 |
FAQ_ENDPOINT: JSON.stringify("/faq"), |
|
132 |
CONNECTOR_API_ENDPOINT: JSON.stringify("/connector"), |
|
133 |
WORKFLOW_API_ENDPOINT: JSON.stringify("/workflow"), |
|
134 |
OIDC_ENDPOINT: JSON.stringify("/api/openid_connect_login"), |
|
135 |
AAI_ENDPOINT: JSON.stringify("https://aai.openminted.eu/oidc") |
|
128 |
API_ENDPOINT: JSON.stringify("http://aleka.athenarc.gr:8380/repomanager-service-dev"), |
|
129 |
FAQ_ENDPOINT: JSON.stringify("http://aleka.athenarc.gr:5555"), |
|
130 |
WORKFLOW_API_ENDPOINT: JSON.stringify("https://aleka.athenarc.gr"), |
|
131 |
AAI_ENDPOINT: JSON.stringify("http://aleka.athenarc.gr:8380/repomanager-service-dev/openid_connect_login") |
|
136 | 132 |
} |
137 | 133 |
}) |
138 | 134 |
); |
Also available in: Unified diff
all api methods work!