17 lines
444 B
JavaScript
17 lines
444 B
JavaScript
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
base: "./",
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
"/address-service/api": "http://127.0.0.1:8000",
|
|
"/address-service/admin": "http://127.0.0.1:8000",
|
|
"/address-service/django-static": "http://127.0.0.1:8000",
|
|
"/api": "http://127.0.0.1:8000",
|
|
"/admin": "http://127.0.0.1:8000",
|
|
},
|
|
},
|
|
});
|