diff vite.config.ts @ 43:a7b644dc1b4b

ridiculous fix for vite not proxying urls with . in them
author drewp@bigasterisk.com
date Fri, 06 Dec 2024 00:58:46 -0800
parents f0a773084a2e
children
line wrap: on
line diff
--- a/vite.config.ts	Thu Dec 05 21:34:00 2024 -0800
+++ b/vite.config.ts	Fri Dec 06 00:58:46 2024 -0800
@@ -1,4 +1,5 @@
 import { defineConfig } from "vite";
+import pluginRewriteAll from "vite-plugin-rewrite-all";
 
 export default defineConfig({
   base: "/video/",
@@ -27,4 +28,5 @@
   define: {
     global: {},
   },
+  plugins: [pluginRewriteAll()],
 });