16 lines
413 B
JavaScript
16 lines
413 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server: {
|
|
// Proxy API calls to the Go server during local development.
|
|
proxy: {
|
|
'/login': 'http://localhost:8080',
|
|
'/logout': 'http://localhost:8080',
|
|
'/me': 'http://localhost:8080',
|
|
'/health': 'http://localhost:8080',
|
|
},
|
|
},
|
|
})
|