Browse Source

Fix leftover value when we would deal with cache duration in minutes instead of seconds

pull/217/head
Gabe Kangas 5 years ago
parent
commit
06e5fe09f4
  1. 2
      router/middleware/caching.go

2
router/middleware/caching.go

@ -60,5 +60,5 @@ func getCacheDurationSecondsForPath(filePath string) int { @@ -60,5 +60,5 @@ func getCacheDurationSecondsForPath(filePath string) int {
}
// Default cache length in seconds
return 30 * 60
return 30
}

Loading…
Cancel
Save