]> source.dussan.org Git - gitea.git/commit
Set `X-Gitea-Debug` header once (#23361)
authorYarden Shoham <hrsi88@gmail.com>
Wed, 8 Mar 2023 20:40:04 +0000 (22:40 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Mar 2023 20:40:04 +0000 (15:40 -0500)
commitaf0468ed8dea62f373c51efaa679080a9cb69f5c
tree872b1ecb010503d74236c04e95aa78badba5d9d4
parent1960ad5c90df65100488b64e7047d1ba3096c11c
Set `X-Gitea-Debug` header once (#23361)

Instead of adding it

# Before
On the raw commit page:

![image](https://user-images.githubusercontent.com/20454870/223470744-cdf11898-e023-4198-8c8b-c294e5d78b73.png)

# After

![image](https://user-images.githubusercontent.com/20454870/223470596-af898d66-bd5b-4ddb-b220-ceb1f149bfec.png)

Fixes #23308

---------

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
modules/context/api.go
modules/context/context.go
modules/httpcache/httpcache.go
routers/install/routes.go
routers/web/base.go
routers/web/user/avatar.go