Pronoun card website and API https://pronouns.cc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
370 B

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
root: "frontend",
plugins: [react()],
server: {
proxy: {
"/api": {
// assumes port 8080 in .env for development
target: "http://localhost:8080",
changeOrigin: true,
},
},
},
});