Write on the margins of the internet. Powered by the AT Protocol. margin.at
extension web atproto comments
at main 437 B view raw
1import { defineConfig } from "vite"; 2import react from "@vitejs/plugin-react"; 3 4export default defineConfig({ 5 plugins: [react()], 6 build: { 7 outDir: "dist", 8 emptyOutDir: true, 9 }, 10 server: { 11 port: 3000, 12 proxy: { 13 "/api": { 14 target: "http://localhost:8080", 15 changeOrigin: true, 16 }, 17 "/auth": { 18 target: "http://localhost:8080", 19 changeOrigin: true, 20 }, 21 }, 22 }, 23});