1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-27 21:10:24 +08:00

sitemap.xml直接写入public目录

This commit is contained in:
xiaochong0302 2025-06-05 17:53:06 +08:00
parent 4e92984550
commit 0026d17f7b

View File

@ -37,7 +37,7 @@ class SitemapTask extends Task
$this->sitemap = new Sitemap();
$filename = tmp_path('sitemap.xml');
$filename = public_path('sitemap.xml');
echo '------ start sitemap task ------' . PHP_EOL;