Skip to content

Conversation

@leeunduck
Copy link
Owner

@leeunduck leeunduck commented Oct 21, 2025

πŸš€ Pull Request

πŸ“ PR μœ ν˜•

  • κΈ°λŠ₯ μΆ”κ°€ (Feature)
  • 버그 μˆ˜μ • (Bug Fix)
  • μ½”λ“œ κ°œμ„  (Refactoring)
  • λ¬Έμ„œ μž‘μ—… (Docs)
  • ν™˜κ²½ μ„€μ • (Configuration)
  • μ΅œμ’… 점검 (Release Check)

πŸ” λ³€κ²½ 사항

next-sitemap μ„ΈνŒ…


πŸ“Έ μŠ€ν¬λ¦°μƒ·


🚧 κ΄€λ ¨ 이슈


πŸ› οΈ μ΅œμ’… 배포 점검 리슀트

  • μ£Όμš” κΈ°λŠ₯ λ™μž‘ 확인
  • λΉŒλ“œ/배포 ν™˜κ²½ 점검
  • λ¬Έμ„œ/μ„€μ • κ²€ν† 

βœ… μ΅œμ’… 배포 점검 κ²°κ³Ό

@vercel
Copy link

vercel bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
custom-daily-planner Ready Ready Preview Comment Oct 21, 2025 6:55pm

@leeunduck leeunduck merged commit 19ff2e0 into main Oct 21, 2025
8 checks passed
@leeunduck leeunduck deleted the Chore/next-sitemap branch October 21, 2025 18:57
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ’‘ Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +52 to +58
// canonical 및 언어별 hreflang
alternates: {
canonical: "/", // => https://myplanmate.vercel.app/
languages: {
ko: "/ko", // => https://myplanmate.vercel.app/ko
en: "/en", // => https://myplanmate.vercel.app/en
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid hreflang links to non-existent /ko and /en routes

Layout metadata advertises alternate language URLs (/ko and /en), but the project has no corresponding locale directories or i18n routing. Every rendered page will emit <link rel="alternate" hreflang> elements that lead to 404s, which search engines treat as errors and can harm canonicalization. Remove these alternates or implement the localized routes before exposing them.

Useful? React with πŸ‘Β / πŸ‘Ž.

Comment on lines +1 to +8
const RAW_SITE_URL = process.env.SITE_URL ?? "https://myplanmate.vercel.app";
const siteUrl = RAW_SITE_URL.replace(/\/+$/, ""); // 끝 μŠ¬λž˜μ‹œ 제거

// "/" 이외 경둜의 끝 μŠ¬λž˜μ‹œ 제거
const strip = (p) => (p !== "/" && p.endsWith("/") ? p.slice(0, -1) : p);

const config = {
siteUrl,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Sitemap uses SITE_URL only and ignores NEXT_PUBLIC_SITE_URL

The sitemap configuration reads process.env.SITE_URL exclusively. Other modules (e.g. src/seo/constants.ts) still support NEXT_PUBLIC_SITE_URL, which was the only variable required before this commit. Environments that set only the public variable will now fall back to the hardcoded https://myplanmate.vercel.app, producing sitemaps and robots.txt pointing at the wrong domain. Consider checking both env names to keep generated URLs consistent with the rest of the app.

Useful? React with πŸ‘Β / πŸ‘Ž.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants