This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/answer.git

commit f22ab85814d957bb188d0b51c1d85e2cbf4d5ef1
Author: Luffy <[email protected]>
AuthorDate: Tue Jan 7 10:53:43 2025 +0800

    fix: Add Disallow /swagger/* in robots.txt by default
---
 internal/migrations/init_data.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/internal/migrations/init_data.go b/internal/migrations/init_data.go
index b0143b33..6500e40a 100644
--- a/internal/migrations/init_data.go
+++ b/internal/migrations/init_data.go
@@ -37,6 +37,7 @@ Disallow: /users/oauth/*
 Disallow: /users/*/*
 Disallow: /answer/api
 Disallow: /*?code*
+Disallow: /swagger/*
 
 Sitemap: `
 )

Reply via email to