1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:54:24 +00:00
gitea/routers
Giteabot 7eaf7907d7
Fix HEAD method for robots.txt (#30603) (#30605)
Backport #30603 by @wxiaoguang

Fix #30601


```
~$ curl --head localhost:3000/robots.txt
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 5
Content-Type: text/plain; charset=utf-8
Last-Modified: Wed, 19 Jul 2023 04:56:12 GMT
X-Gitea-Debug: RUN_MODE=dev
Date: Fri, 19 Apr 2024 12:59:44 GMT
```

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-04-19 22:32:49 +02:00
..
api Fix branch_protection api shows users/teams who has no readAccess (#30291) (#30544) 2024-04-17 13:50:49 +00:00
common Refactor URL detection (#29960) 2024-03-21 12:02:34 +00:00
install Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
private Performance optimization for git push (#30104) (#30348) 2024-04-09 06:34:30 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Fix HEAD method for robots.txt (#30603) (#30605) 2024-04-19 22:32:49 +02:00
init.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00