Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb8005 authored Dec 17, 2023
1 parent c13d264 commit 68b32f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { ProxyOptions } from "vite";
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";

Expand All @@ -7,7 +8,7 @@ const proxy: { [l: string]: ProxyOptions } = {
target: "http://localhost:3002",
changeOrigin: true,
secure: false,
rewrite: (path: string) => path.replace(/^\/api\/, ""),
rewrite: (path: string) => path.replace(/^\/api/, ""),
},
};

Expand Down

0 comments on commit 68b32f1

Please sign in to comment.