mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
improve & refactor & return specific error pages
This commit is contained in:
parent
60aefb4bf5
commit
70871e77be
4 changed files with 45 additions and 24 deletions
|
@ -27,6 +27,9 @@ const (
|
|||
defaultBranchCacheKeyPrefix = "defaultBranch"
|
||||
rawContentCacheKeyPrefix = "rawContent"
|
||||
|
||||
// pages server
|
||||
pagesCacheIndicator = "X-Pages-Cache"
|
||||
|
||||
// gitea
|
||||
giteaObjectTypeHeader = "X-Gitea-Object-Type"
|
||||
objTypeSymlink = "symlink"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue