Skip to content

Commit

Permalink
chore: next config 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellol77 committed Feb 7, 2024
1 parent bcbb234 commit 1d55246
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const nextConfig = {
unoptimized: true,
domains: ["hanroro-fanpage.s3.ap-northeast-2.amazonaws.com"],
},
// async rewrites() {
// return [
// {
// source: "/api/:path*",
// destination: process.env.NEXT_PUBLIC_BASE_URL + "/:path*",
// },
// ];
// },
output: "export",
async rewrites() {
return [
{
source: "/api/:path*",
destination: process.env.NEXT_PUBLIC_BASE_URL + "/:path*",
},
];
},
// output: "export",
trailingSlash: true,
reactStrictMode: false,
};
Expand Down

0 comments on commit 1d55246

Please sign in to comment.