- src/lib/tour.ts: 사전 수집 JSON(medicalTourismKo/medicalTourism)을 추천 후보로 변환. 관광지·문화시설→관광, 쇼핑, 음식점(일반식 단계에서만), 숙박→숙소. 사우나·스파는 회복기 금지라 제외. 거리로 외출 등급(600m·3km) - 큐레이션(places.json) 1순위, TourAPI 2순위 가점. 타임라인 추천에 이동 시간 라벨과 '관광공사' 표시 - 체류 기간과 겹치는 행사 섹션(가까운 순 6곳, 자유 외출 단계 도달일 표시), 자유 외출(L3) 날에 행사 1건 추가 - 숙소 그리드에 TourAPI 숙박 가까운 순 6곳 추가(예약 검색은 영문 이름으로) - scripts/fetch_medical_tourism.py: Productize 브랜치의 수집 스크립트 가져옴(화면 경로 주석 갱신) - vercel.json: /recovery·/stay·/en/recovery·/en/stay → /plan·/en/plan 영구 리다이렉트. src/pages/404.astro 사이트 스타일 404 - 테스트 14건(어댑터·우선순위·유동식 제외·축제) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
48 lines
911 B
JSON
48 lines
911 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"framework": "astro",
|
|
"buildCommand": "npm run build",
|
|
"outputDirectory": "dist",
|
|
"build": {
|
|
"env": {
|
|
"SITE_URL": "https://view-supporters-sample.vercel.app",
|
|
"PUBLIC_INDEXABLE": "false"
|
|
}
|
|
},
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "X-Robots-Tag",
|
|
"value": "noindex, nofollow"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"cleanUrls": true,
|
|
"trailingSlash": false,
|
|
"redirects": [
|
|
{
|
|
"source": "/recovery",
|
|
"destination": "/plan",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/stay",
|
|
"destination": "/plan",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/en/recovery",
|
|
"destination": "/en/plan",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/en/stay",
|
|
"destination": "/en/plan",
|
|
"permanent": true
|
|
}
|
|
]
|
|
}
|