Split project into frontend and backend
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/api': 'http://127.0.0.1:8000',
|
||||
'/project-assets': 'http://127.0.0.1:8000',
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user