mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-19 07:26:50 +00:00
rss-file
This commit is contained in:
@@ -3,7 +3,7 @@ import fs from 'fs'
|
||||
import BLOG from '@/blog.config'
|
||||
|
||||
export async function generateRobotsTxt() {
|
||||
fs.mkdirSync('./public/rss', { recursive: true })
|
||||
fs.mkdirSync('./public', { recursive: true })
|
||||
fs.writeFileSync('./public/robots.txt', `
|
||||
# *
|
||||
User-agent: *
|
||||
|
||||
Reference in New Issue
Block a user