Skip to content

Commit

Permalink
remove prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ozieblo-michal committed Jun 11, 2024
1 parent 911e64a commit 7dffa60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/frontend/my-app/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ export default defineConfig(({ mode }) => {
base: "/vitefast/",
server: {
proxy: {
'/api': {
'/': {
target: env.VITE_BACKEND_URL,
changeOrigin: true,
secure: true,
rewrite: path => path.replace(/^\/api/, ''),
},
},
},
Expand Down

0 comments on commit 7dffa60

Please sign in to comment.