Skip to content

Commit

Permalink
feat:set a proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
jundm committed Apr 24, 2022
1 parent 803ca86 commit e7bafad
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,14 @@ module.exports = {
return config;
},
};

module.exports = {
async rewrites() {
return [
{
source: "/:path*",
destination: "https://backend.sef.today/:path*", // Proxy to Backend
},
];
},
};

0 comments on commit e7bafad

Please sign in to comment.