nuxt-modules / robots

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

Robots configPath variable does not work #98

Closed agracia-foticos closed 1 year ago

agracia-foticos commented 1 year ago

We have implemented the module with a custom robots.config.ts, but always its returned the default robots.txt

this is our project image

robots.config.ts image

Default response image

agracia-foticos commented 1 year ago

to give more information, if i change nuxt.config.ts and i put wrong configPath like './robots.config2' (this file doesnt exist) always return default robots.txt image

image

agracia-foticos commented 1 year ago

Sorry, i have an robots.txt in public directory...