diff --git a/src/App.vue b/src/App.vue index f528b7a..91af1fc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -43,6 +43,12 @@ + + diff --git a/vue.config.js b/vue.config.js index d51c838..aae3803 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,5 +1,16 @@ const { defineConfig } = require('@vue/cli-service'); module.exports = defineConfig({ + devServer: { + proxy: { + '^/api': { + target: 'http://localhost:7300', + changeOrigin: true, + secure: false, + pathRewrite: { '^/api': '' }, + logLevel: 'debug', + }, + }, + }, transpileDependencies: true, });