Skip to content

Commit

Permalink
fix(app): only allow first 3 pages be crawl
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Jul 24, 2024
1 parent 71a501e commit 509d111
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/app/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,15 @@ export default defineConfig({
policy: [
{
userAgent: '*',
allow: ['/detail/', '/resource/', '/resources/', '/anime/', '/docs/'],
allow: [
'/docs/',
'/anime/',
'/detail/',
'/resource/',
'/resources/1',
'/resources/2',
'/resources/3'
],
disallow: ['/feed.xml', '/api/']
}
]
Expand Down

0 comments on commit 509d111

Please sign in to comment.