nuxt-modules / robots

Tame the robots crawling and indexing your Nuxt site.
https://nuxtseo.com/robots
412 stars 30 forks source link

fix: rules not applied properly if using array #102

Closed yauri-io closed 1 year ago

yauri-io commented 1 year ago

Issue discussed here #97 The default rules is an object. If the config passing an array it will causing it discarded. I didn't dig deeper on how Nuxt applying the default option but this is a quick fix for the issue.