Passport/view/vite.config.ts
2024-01-28 01:07:38 +08:00

13 lines
280 B
TypeScript

import { defineConfig } from "vite";
import solid from "vite-plugin-solid";
import devtools from "solid-devtools/vite";
export default defineConfig({
plugins: [devtools({ autoname: true }), solid()],
server: {
proxy: {
"/api": "http://localhost:8444"
}
}
});