mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-23 05:14:26 +00:00
feat: implement redirector api
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react-swc";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
@@ -12,6 +12,10 @@ export default defineConfig({
|
||||
target: "http://localhost:8082/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
"/o": {
|
||||
target: "http://localhost:8082/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user