Simplify HLS storage paths (#1393)
* Remove private vs public HLS paths and add a HLS controller. Closes #875 * Use http.ServeFile instead
This commit is contained in:
@@ -59,7 +59,7 @@ func (s *FileWriterReceiverService) uploadHandler(w http.ResponseWriter, r *http
|
||||
}
|
||||
|
||||
path := r.URL.Path
|
||||
writePath := filepath.Join(config.PrivateHLSStoragePath, path)
|
||||
writePath := filepath.Join(config.HLSStoragePath, path)
|
||||
|
||||
var buf bytes.Buffer
|
||||
defer r.Body.Close()
|
||||
|
||||
Reference in New Issue
Block a user