diff --git a/quasar.conf.js b/quasar.conf.js index 73e09f18..a73044e0 100644 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -79,17 +79,16 @@ module.exports = configure(function (ctx) { devServer: { https: false, // port: 8080, - open: true // opens browser window automatically - // proxy: { - // // proxy all requests starting with /api to jsonplaceholder - // '/django': { - // target: 'http://192.168.1.47:8000/', - // changeOrigin: true, - // pathRewrite: { - // '^/django': '' - // } - // } - // } + open: true, // opens browser window automatically + proxy: { + '/api_v1_prod': { + target: 'https://api.mosquitoalert.com/', + changeOrigin: true, + pathRewrite: { + '^/api_v1_prod': 'v1/map/' + }, + } + }, }, // https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework diff --git a/src/components/CustControl.vue b/src/components/CustControl.vue index 96196ca7..c16b9e43 100644 --- a/src/components/CustControl.vue +++ b/src/components/CustControl.vue @@ -6,6 +6,7 @@