diff --git a/pinry-spa/vue.config.js b/pinry-spa/vue.config.js new file mode 100644 index 0000000..5e4e116 --- /dev/null +++ b/pinry-spa/vue.config.js @@ -0,0 +1,14 @@ +module.exports = { + devServer: { + proxy: { + '/api': { + target: 'http://localhost:8000/', + changeOrigin: true, + ws: true, + pathRewrite: { + '^/api': '', + }, + }, + }, + }, +};