Write to disk when using maxTagsPerSitemap #486
Unanswered
dottely-frontend
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to generate an index sitemap. Everything is fine when I follow the documentation and I end up at writing
SitemapGenerator::create(config('app.url'))->maxTagsPerSitemap($n)->writeToFile($this->getDisk()->path($this->getPath()));
.The problem occurs when I use Vapor. The function
writeToFile()
leveragesfile_put_contents
and this is a problem. How can I usewriteToDisk()
when I usemaxTagsPerSitemap()
?Beta Was this translation helpful? Give feedback.
All reactions