fix: robots.txt 가 실제로 있는 sitemap 주소를 가리킨다
경로 조각에 점을 쓸 수 없어(D19) /api/v1/public/sitemap 이다. 확장자는 sitemap 프로토콜이 요구하지 않는다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PTnWufiY9ATv57egkKKVAV
This commit is contained in:
co-authored by
Claude Opus 5
parent
bb6eba00db
commit
871e791cbc
+2
-2
@@ -4,7 +4,7 @@ Allow: /
|
||||
Disallow: /studio
|
||||
# sitemap 은 /api 아래에 있다. 무엇이 게시됐는지는 빌드가 아니라 게시 시점에 정해지고 그것을
|
||||
# 아는 것은 서버뿐이라 정적 파일로 만들 수 없다. Disallow 보다 먼저 두어야 크롤러가 읽는다.
|
||||
Allow: /api/v1/public/sitemap.xml
|
||||
Allow: /api/v1/public/sitemap
|
||||
Disallow: /api/
|
||||
|
||||
Sitemap: https://hyeonworks.com/api/v1/public/sitemap.xml
|
||||
Sitemap: https://hyeonworks.com/api/v1/public/sitemap
|
||||
|
||||
Reference in New Issue
Block a user