Skip to content

🐛 중앙대 슬러그가 university-web으로 rewrite되지 않던 문제 수정 - #624

Merged
manNomi merged 1 commit into
mainfrom
fix/university-rewrite-chungang-slug
Aug 3, 2026
Merged

🐛 중앙대 슬러그가 university-web으로 rewrite되지 않던 문제 수정#624
manNomi merged 1 commit into
mainfrom
fix/university-rewrite-chungang-slug

Conversation

@manNomi

Copy link
Copy Markdown
Contributor

문제

https://www.solid-connection.com/university/chungang 이 404를 반환합니다.

/university/inha -> 200
/university/kyunghee -> 200
/university/chungang -> 404

원인

apps/web/next.config.mjs의 멀티존 rewrite 슬러그가 하드코딩되어 있었습니다.

constuniversitySlugPattern="(inha|kyunghee)";

이 패턴이 /university/:homeUniversity 요청을 university-web으로 넘길지 결정합니다. chungang이 목록에 없어 rewrite가 걸리지 않고, 해당 라우트가 없는 apps/web으로 떨어져 404가 났습니다.

#622(중앙대 추가)에서 놓친 두 번째 등록 지점입니다. 홈 대학은 apps/university-web의 상수와 이 rewrite 패턴 두 곳에 등록되어야 하는데, 전자만 반영했습니다.

수정

슬러그 목록을 배열로 분리하고 chungang을 추가했습니다. 두 곳을 함께 갱신해야 한다는 점을 주석으로 명시했습니다.

/university/score/*, /university/application/*apps/web 소유이므로 와일드카드 대신 allowlist 구조를 유지했습니다. 실제로 생성되는 패턴을 확인했습니다.

세그먼트처리
inha / kyunghee / chunganguniversity-web으로 rewrite
score / applicationapps/web 유지

배포 순서 (중요)

이 PR 머지만으로는 사이트가 고쳐지지 않습니다.

  • release-university — main과 동일, 중앙대 포함 ✅ (university-web 쪽은 이미 준비 완료)
  • release-webmain보다 15커밋 뒤처짐. rewrite를 소유한 앱이라 이 브랜치가 갱신되어야 반영됩니다.

머지 후 Promote Main to Release Branches workflow를 web 타깃으로 실행해야 /university/chungang이 열립니다.

검증

  • pnpm --filter @solid-connect/web run lint:check — 통과 (university-zone-navigation 룰 포함)
  • pnpm --filter @solid-connect/web run typecheck — 통과
  • pnpm --filter @solid-connect/web run build — 통과

후속 제안 (이 PR 범위 밖)

next.config.mjs.mjs라 TS 상수를 import할 수 없어 수동 동기화가 남아 있습니다. 같은 사고가 반복되지 않으려면 슬러그 목록을 양쪽이 import할 수 있는 공용 .mjs 모듈로 빼거나, CI에서 두 목록의 일치를 검사하는 편이 안전합니다.

또한 apps/webHOME_UNIVERSITY_LIST에는 여전히 중앙대가 없습니다(홈 목록·sitemap). maxChoiceCount 값이 확정되면 별도 PR로 반영하겠습니다.

🤖 Generated with Claude Code

@manNomi
manNomi requested a review from wibaek as a code ownerAugust 3, 2026 14:44
@vercel

vercelBot commented Aug 3, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
solid-connect-university-webBuildingBuildingPreviewAug 3, 2026 2:45pm
solid-connection-webReadyReadyPreviewAug 3, 2026 2:45pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
solid-connect-web-adminSkippedSkippedAug 3, 2026 2:45pm

@coderabbitai

Copy link
Copy Markdown

Warning

Review limit reached

@manNomi, you've reached your PR review limit, so we couldn't start this review.

Next review available in:31 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 47a54d26-7636-48ed-99ff-a82feef2037b

📥 Commits

Reviewing files that changed from the base of the PR and between 67d3dc0 and f653b8d.

📒 Files selected for processing (1)
  • apps/web/next.config.mjs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@manNomi