dockerfix

This commit is contained in:
2026-04-09 09:31:34 +00:00
parent 880f5caf2d
commit 5212cab8b6
5 changed files with 28 additions and 8 deletions

View File

@@ -4,6 +4,17 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
host: '0.0.0.0',
port: 8451,
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
},
'/media': {
target: 'http://localhost:8000',
changeOrigin: true,
},
},
},
})