fix: naverplace regex 수정

main
Mina Choi 2026-05-20 14:06:46 +09:00
parent e9630cda4d
commit d736e1ef77
2 changed files with 5 additions and 2 deletions

View File

@ -23,4 +23,7 @@ services:
environment:
- CHOKIDAR_USEPOLLING=true
- WATCHPACK_POLLING=true
- VITE_API_BASE_URL=${VITE_API_BASE_URL}
- VITE_API_KEY=${VITE_API_KEY}
- VITE_ENABLE_DEV_ROUTES=${VITE_ENABLE_DEV_ROUTES}
restart: unless-stopped

View File

@ -72,8 +72,8 @@ const FB_SKIP = new Set([
/** YouTube 프로필 패턴: `@handle`, `channel/UC...`, `c/custom`, `user/...` */
const YT_PROFILE_RE = /youtube\.com\/(?:@[a-zA-Z0-9._-]+|channel\/UC[a-zA-Z0-9_-]+|c\/[a-zA-Z0-9._-]+|user\/[a-zA-Z0-9._-]+)/i;
/** Naver Place: m.place.naver.com/hospital/{id}, place.naver.com/hospital/{id}, map.naver.com/p/entry/place/{id} */
const NAVER_PLACE_RE = /(?:m\.)?place\.naver\.com\/[a-z]+\/\d+|map\.naver\.com\/p\/entry\/place\/\d+/i;
/** Naver Place: place.naver.com/{cat}/{id}, map.naver.com/p/entry/place/{id}, naver.me/{shortcode} */
const NAVER_PLACE_RE = /(?:m\.)?place\.naver\.com\/[a-z]+\/\d+|map\.naver\.com\/(?:p|v\d+)\/entry\/place\/\d+|naver\.me\/[a-zA-Z0-9]+/i;
/** Naver Blog: blog.naver.com/{id} (또는 m.blog.naver.com) */
const NAVER_BLOG_RE = /(?:m\.)?blog\.naver\.com\/[a-zA-Z0-9_-]+/i;