Skip to content

Commit

Permalink
chore: Create robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-fish authored Oct 23, 2023
1 parent 744fe9e commit 8528d43
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
User-agent: *
Disallow:
Disallow: /ajax/
Disallow: /user/
Disallow: /api/
Disallow: *.php

# Google的爬虫太顶了,扛不住
User-agent: googlebot-image
Disallow: /

1 comment on commit 8528d43

@vercel
Copy link

@vercel vercel bot commented on 8528d43 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.