nuxt-modules / robots

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

fix: config function not passing in req #67

Closed matt-clegg closed 1 year ago

matt-clegg commented 1 year ago

While trying to use functions in the config file, the req object was not being passed in. It seems this was being caused by the .call usage in the server middleware. I have instead removed it to call the function directly which seemed to have fixed the issue.

dan-hammond commented 1 year ago

@ricardogobbosouza sorry to @ you, but do you mind reviewing this please?

ricardogobbosouza commented 1 year ago

Thanks @matt-clegg

dargmuesli commented 1 year ago

Would you mind to release a new version containing the latest changes, @ricardogobbosouza?