nuxt-modules / robots

Tame the robots crawling and indexing your Nuxt site.
https://nuxtseo.com/robots
MIT License
424 stars 34 forks source link

fix: improved robots.txt matching #136

Closed harlan-zw closed 3 months ago

harlan-zw commented 3 months ago

๐Ÿ”— Linked issue

https://github.com/nuxt-modules/robots/issues/130

โ“ Type of change

๐Ÿ“š Description

Currently, we have very basic path matching against the robots.txt to add the meta tag and header automatically, this is leading to inconsistent states.

In this PR we I'm to: