Initial work on downsampling
The http connection is being closed before sending all data. May have something to do with the Range header
This commit is contained in:
@@ -46,9 +46,6 @@ func (m *MockMediaFile) Get(id string) (*domain.MediaFile, error) {
|
||||
return nil, errors.New("Error!")
|
||||
}
|
||||
mf := m.data[id]
|
||||
if mf == nil {
|
||||
mf = &domain.MediaFile{}
|
||||
}
|
||||
return mf, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user