Skip to content

Commit f22ab85

Browse files
sy-recordsLinkinStars
authored andcommitted
fix: Add Disallow /swagger/* in robots.txt by default
1 parent 9f9527d commit f22ab85

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/migrations/init_data.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Disallow: /users/oauth/*
3737
Disallow: /users/*/*
3838
Disallow: /answer/api
3939
Disallow: /*?code*
40+
Disallow: /swagger/*
4041
4142
Sitemap: `
4243
)

0 commit comments

Comments
 (0)