Untitled
unknown
typescript
2 years ago
1.7 kB
8
Indexable
const PROXY_CONFIG = { '/api/socket': { //"target": "ws://orchid.seguritech.org:8082", target: 'wss://qagps.seguritech.org/ws', //QA //target: 'wss://34.173.121.202/ws', // DESARROLLO //"target": "ws://35.192.158.36:8082", //DEMO CDMX //"target": "ws://35.222.200.66:8082", //prod & prod respaldo //"target": "ws://20.88.235.127", // Azure secure: false, ws: true, }, '/traccar/api/*': { //"target": "http://orchid.seguritech.org:8082/api", target: 'https://34.67.175.53:8282/api', //QA //"target": "http://35.192.158.36:8082/api", //DEMO CDMX //"target": "http://35.222.200.66:8082/api", //prod & prod respaldo //"target": "http://20.88.235.127/api", // Azure secure: false, changeOrigin: true, pathRewrite: { '^/traccar/api': '', }, }, '/brazaletes/api/*': { //"target": "http://25.71.73.220:9001", //MARTIN //"target": "http://25.50.66.156:9001", // ALBERT //"target": "https://34.72.128.131:8443", //prod //"target": "https://34.72.128.131", //prod respaldo //target: 'http://25.53.87.178:9001', //Jony Colombia target: 'https://qagps.seguritech.org/', //QA //target: 'https://34.173.121.202', // DESARROLLO //target: 'https://35.192.158.36', //DEMO CDMX //"target": "http://52.249.60.99/", // azure secure: false, changeOrigin: true, }, '/brazaletes/socketStompAdmin': { //target: 'http://35.222.100.198:9001', //target: 'http://34.173.121.202:9002', // DESARROLLO target: 'https://qagps.seguritech.org/', //QA secure: true, changeOrigin: true, ws: true, }, }; module.exports = PROXY_CONFIG;
Editor is loading...