Skip to content

Commit

Permalink
Add redirect to new uri
Browse files Browse the repository at this point in the history
  • Loading branch information
beming-dev committed Jan 14, 2025
1 parent 6823814 commit 3086cf9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ const withPWA = require("next-pwa")({

// eslint-disable-next-line @typescript-eslint/no-var-requires
const baseNextConfig = {
async redirects() {
return [
{
source: "/:path*",
destination: "https://about-front.kro.kr/:path*",
permanent: true, // 301 리다이렉트
},
];
},

env: {
NEXT_PUBLIC_KAKAO_CLIENT_ID: process.env.NEXT_PUBLIC_KAKAO_CLIENT_ID,
NEXT_PUBLIC_KAKAO_JS_KEY: process.env.NEXT_PUBLIC_KAKAO_JS_KEY,
Expand Down

0 comments on commit 3086cf9

Please sign in to comment.