Skip to content

Commit

Permalink
fix : 배포 설정 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yunsusu committed Apr 17, 2024
1 parent 3ac7aa3 commit 664f58f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,24 @@ const nextConfig = {
],
domains: ["gildongmuu.s3.ap-northeast-2.amazonaws.com"],
},
rewrites: async () => [
{
source: "/post",
destination: "http://3.38.76.39:8080",
},
{
source: "/get",
destination: "http://3.38.76.39:8080",
},
{
source: "/put",
destination: "http://3.38.76.39:8080",
},
{
source: "/delete",
destination: "http://3.38.76.39:8080",
},
],
};

module.exports = nextConfig;

0 comments on commit 664f58f

Please sign in to comment.