Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

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

Gabe Kangasad1f1ea25b2e
diff --git a/router/middleware/caching.go b/router/middleware/caching.go
index 9d1eb73efa..274297a85a 100644
--- a/router/middleware/caching.go
+++ b/router/middleware/caching.go
@@ -60,5 +60,5 @@ func getCacheDurationSecondsForPath(filePath string) int {
}
// Default cache length in seconds
- return 30 * 60
+ return 30
}