Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
fix: avoid duplicate cache-control header (#1048)
Fabian Fischeraac54e3ae3c8
diff --git a/core/storageproviders/s3Storage.go b/core/storageproviders/s3Storage.goindex 6d5d2fc177..6edff0d926 100644--- a/core/storageproviders/s3Storage.go+++ b/core/storageproviders/s3Storage.go@@ -135,7 +135,7 @@ func (s *S3Storage) Save(filePath string, retryCount int) (string, error) {defer file.Close()maxAgeSeconds := utils.GetCacheDurationSecondsForPath(filePath)- cacheControlHeader := fmt.Sprintf("Cache-Control: max-age=%d", maxAgeSeconds)+ cacheControlHeader := fmt.Sprintf("max-age=%d", maxAgeSeconds)uploadInput := &s3manager.UploadInput{Bucket: aws.String(s.s3Bucket), // Bucket to be usedKey: aws.String(filePath), // Name of the file to be saved