fix: minor (#35)
Release package / release (push) Failing after 2m18s

Co-authored-by: TakahashiNg <83152264+TakahashiNguyen@users.noreply.github.com>
Reviewed-on: #35
This commit was merged in pull request #35.
This commit is contained in:
2026-04-19 08:47:10 +00:00
parent 96584c5494
commit 46d366a662
3 changed files with 40 additions and 7 deletions
+12
View File
@@ -19,6 +19,18 @@ const nextConfig: NextConfig = {
},
],
},
async rewrites() {
const rewrites = [];
if (process.env.NODE_ENV !== "production") {
rewrites.push({
source: "/api/:path*",
destination: "http://host.docker.internal:32080/api/:path*",
});
}
return rewrites;
},
};
export default nextConfig;