okami.mom/web-extract-go

git clone https://git.nkp.pet/okami.mom/web-extract-go

nekomimi.petweb-extract: the Go service running on the Mac mini (vassago)5a90548

main
402 B11 linesraw
1import { defineConfig } from "vite"
2import react from "@vitejs/plugin-react"
3import tailwindcss from "@tailwindcss/vite"
4import { fileURLToPath, URL } from "node:url"
5
6export default defineConfig({
7  base: "/admin/",
8  plugins: [react(), tailwindcss()],
9  resolve: { alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) } },
10  server: { proxy: { "/admin/api": "http://127.0.0.1:8788" } },
11})