mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #1047] [MERGED] feat: support non-standard robots directives via other field #1047
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#1047
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/1047
Author: @NathanDrake2406
Created: 5/4/2026
Status: ✅ Merged
Merged: 5/4/2026
Merged by: @james-elicx
Base:
main← Head:fix/1010-support-robots-other📝 Commits (1)
069fb66fix: support non-standard robots directives viaotherfield (#1010)📊 Changes
2 files changed (+93 additions, -0 deletions)
View changed files
📝
packages/vinext/src/server/metadata-routes.ts(+12 -0)📝
tests/metadata-routes.test.ts(+81 -0)📄 Description
Fixes #1010
Summary
otherfield toRobotsRuletype acceptingRecord<string, string | number | Array<string | number>>Crawl-delayand before the blank line separating blocksnull/undefinedentries are skippedTest plan
tests/metadata-routes.test.tscovering: directive position, array expansion, null/undefined skipping, multiple directives, numeric values🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.