move domain file name into const

This commit is contained in:
6543 2021-12-15 04:54:15 +01:00
parent e73c79da77
commit 314cbdb83c
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE
2 changed files with 3 additions and 1 deletions

View file

@ -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"