Something went wrong. Try again.
spool is a community-first, lightweight discussion forum, issue tracker, and announcement hub for your project.
Something went wrong. Try again.
1234567891011121314151617import react from "@vitejs/plugin-react";import { defineConfig } from "vite";
export default defineConfig({ plugins: [react()], server: { allowedHosts: ['all', '.subtype.internal'], host: true, proxy: { // Everything stays same-origin in dev: the browser only ever talks to // :5173, and Vite forwards API + auth traffic to the Hono server. "/api": "http://localhost:3001", "/auth": "http://localhost:3001", }, },});