CI & Release / Verify simulator (push) Skipped
CI & Release / Trivy scan (push) Skipped
CI & Release / Semantic Release (push) Skipped
CI & Release / Verify simulator (pull_request) Failing after 5s
CI & Release / Trivy scan (pull_request) Skipped
CI & Release / Semantic Release (pull_request) Skipped
Add optional Three.js scene, base-pad lifecycle, mycelial swarms, UFO transit steering, and algorithm selector (boids, APF, ACO, hypha).
27 lines
585 B
TypeScript
27 lines
585 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
"/api/search": {
|
|
target: "https://search.produktor.io",
|
|
changeOrigin: true,
|
|
rewrite: (p) => p.replace(/^\/api\/search/, "/search"),
|
|
},
|
|
},
|
|
},
|
|
preview: {
|
|
port: 5173,
|
|
proxy: {
|
|
"/api/search": {
|
|
target: "https://search.produktor.io",
|
|
changeOrigin: true,
|
|
rewrite: (p) => p.replace(/^\/api\/search/, "/search"),
|
|
},
|
|
},
|
|
},
|
|
});
|