Skip to content

Commit

Permalink
fix: Add Disallow /swagger/* in robots.txt by default
Browse files Browse the repository at this point in the history
sy-records authored and LinkinStars committed Jan 7, 2025
1 parent 9f9527d commit f22ab85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/migrations/init_data.go
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ Disallow: /users/oauth/*
Disallow: /users/*/*
Disallow: /answer/api
Disallow: /*?code*
Disallow: /swagger/*
Sitemap: `
)

0 comments on commit f22ab85

Please sign in to comment.