forked from RobiFag/template_progetto_simile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
43 lines (40 loc) · 1.04 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Configurazione di sviluppo locale
const devProxyConf = {
port: ':8000',
host: window.location.hostname,
name: 'istsos'
};
// Configurazione di deploy su server SUPSI
const proxyConf = {
port: '',
// host: 'simile.ddns.net', // window.location.hostname,
host: window.location.hostname,
name: 'api/istsos'
};
const config = {
istsosProxy: devProxyConf,
verbanoIstsos: {
proxyEndpoint: 'verbano',
baseUrl: 'https://limnodata.irsa.cnr.it',
endpoint: 'maggiorelive'
},
larioIstsos: {
proxyEndpoint: 'lario',
baseUrl: 'https://limnodata.irsa.cnr.it',
endpoint: 'lariolive'
},
ceresioIstsos: {
proxyEndpoint: 'ceresio',
baseUrl: 'https://ecolake.supsi.ch',
endpoint: 'ceresiohourly'
},
vareseIstsos: {
proxyEndpoint: 'varese',
baseUrl: 'https://limnodata.irsa.cnr.it',
endpoint: 'vareselive'
},
apikeys: {
stadiamaps: "5215a8ea-9563-412f-ae94-686f868a6fa3"
}
};
module.exports = config;