Added a proxy to the vite.config.js

This commit is contained in:
Mathias Wagner 2023-05-08 20:16:21 +02:00
parent a3d1aabc60
commit cede39105a
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -8,5 +8,10 @@ export default defineConfig({
alias: { alias: {
'@': path.resolve(__dirname, './src') '@': path.resolve(__dirname, './src')
} }
},
server: {
proxy: {
"/api": "http://localhost:7182/"
}
} }
}); });