mirror of
https://github.com/2234839/web-font.git
synced 2025-04-06 05:25:44 +08:00
16 lines
285 B
TypeScript
16 lines
285 B
TypeScript
import { defineConfig } from "vite";
|
|
import solid from "vite-plugin-solid";
|
|
|
|
export default defineConfig({
|
|
plugins: [solid()],
|
|
server: {
|
|
host: "0.0.0.0",
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://localhost:8087",
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
});
|