first commit
This commit is contained in:
16
frontend/vite.config.ts
Normal file
16
frontend/vite.config.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from "vite";
|
||||
import preact from "@preact/preset-vite";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [preact()],
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
port: 8173,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://127.0.0.1:8318",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user