mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
refactor (2) (#34)
move forward with refactoring: - initial implementation of a smal "gitea client for fasthttp" - move constant into const.go Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/34 Reviewed-by: Otto Richter <otto@codeberg.org>
This commit is contained in:
parent
a2c5376d9a
commit
4267d54a63
5 changed files with 103 additions and 37 deletions
|
@ -19,3 +19,5 @@ var fileCacheSizeLimit = 1024 * 1024
|
|||
|
||||
// canonicalDomainCacheTimeout specifies the timeout for the canonical domain cache.
|
||||
var canonicalDomainCacheTimeout = 15 * time.Minute
|
||||
|
||||
const canonicalDomainConfig = ".domains"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue