19 lines
427 B
JavaScript
19 lines
427 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
base: '/course-of-life/',
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
// target: 'http://localhost:19089',
|
|
target: 'http://101.200.208.45:19089',
|
|
changeOrigin: true,
|
|
}
|
|
}
|
|
}
|
|
})
|