Add proxy for api

new-ui^2
Garrett Mills 2 years ago
parent 97d5ff6ea2
commit cc4d659177

@ -4,6 +4,13 @@ import vuetify from '@vuetify/vite-plugin'
// https://vitejs.dev/config/
export default defineConfig({
server: {
proxy: {
'/api': {
target: 'http://localhost:8000/',
},
},
},
plugins: [vue(),
vuetify({ autoImport: true }), // Enabled by default
],

Loading…
Cancel
Save