proxy.conf.json
{
"/db": {
"target": "http://localhost:3000",
"secure": true,
"logLevel": "debug",
"changeOrigin": true,
"pathRewrite": {
"/db": ""
}
},
"/query": {
"target": "http://localhost:3000",
"secure": true,
"logLevel": "debug",
"changeOrigin": true,
"pathRewrite": {
"/query": ""
}
},
"/nominatim": {
"target": "https://nominatim.openstreetmap.org",
"secure": true,
"changeOrigin": true,
"pathRewrite": {
"/nominatim": ""
}
}
}