Dynamically generate robot.txt and sitemap.xml based on client hostname NextJS

前端 未结 0 1934
慢半拍i
慢半拍i 2020-12-13 08:52

I have a very unique requirement; We need to dynamically generates two files, with two different content-types (xml and txt) to serve our robots.txt and sitemap.xml.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题