mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-19 07:09:18 +00:00
md5ify cache keys
This commit is contained in:
parent
06e4bad278
commit
42d9b1af1b
6 changed files with 12 additions and 10 deletions
|
|
@ -71,9 +71,7 @@ func (s *server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
}
|
||||
|
||||
func cacheKey(orig string) string {
|
||||
return fmt.Sprintf("flatten-%s", orig)
|
||||
}
|
||||
func cacheKey(orig string) string { return fmt.Sprintf("flatten-%s", orig) }
|
||||
|
||||
// flatten.kontain.me/ubuntu -> flatten ubuntu and serve
|
||||
func (s *server) serveFlattenManifest(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue