Skip to content

Commit

Permalink
fix(client): proxy address
Browse files Browse the repository at this point in the history
  • Loading branch information
YuqiHuai committed Oct 17, 2023
1 parent 4e3015d commit e6ee0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/setupProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { createProxyMiddleware } = require("http-proxy-middleware");

module.exports = function (app) {
app.use(
"/",
"/api",
createProxyMiddleware({
target: process.env.REACT_APP_SERVER_URL,
changeOrigin: true,
Expand Down

0 comments on commit e6ee0ea

Please sign in to comment.