chore: initial commit — monorepo ReadaBook (API NestJS, web PWA, Docker)
This commit is contained in:
16
apps/web/vite.config.ts
Normal file
16
apps/web/vite.config.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 5173,
|
||||
proxy: {
|
||||
"/auth": "http://127.0.0.1:3000",
|
||||
"/admin": "http://127.0.0.1:3000",
|
||||
"/books": "http://127.0.0.1:3000",
|
||||
"/progress": "http://127.0.0.1:3000",
|
||||
"/healthz": "http://127.0.0.1:3000"
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user