Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
v1.0.1
  • Loading branch information
jwo0o0 authored Nov 27, 2024
2 parents ce85aa2 + 28c566d commit 58dff47
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
compiler: {
styledComponents: true,
},
async rewrites() {
const destinationUrl =
process.env.NODE_ENV === "production"
? process.env.NEXT_PUBLIC_PROD_API_URL
: process.env.NEXT_PUBLIC_DEV_API_URL;
return [
{
source: "/api/:path*",
destination: `${destinationUrl}/:path*`,
},
];
},
images: {
remotePatterns: [
{
Expand Down

0 comments on commit 58dff47

Please sign in to comment.