Cleanup utility function in connection manager
This commit is contained in:
@@ -69,7 +69,7 @@ function enableHlsPlayer(url, item, mediaSource, mediaType) {
|
||||
|
||||
// issue head request to get content type
|
||||
return new Promise(function (resolve, reject) {
|
||||
import('../../components/fetchhelper').then((fetchHelper) => {
|
||||
import('../../utils/fetch').then((fetchHelper) => {
|
||||
fetchHelper.ajax({
|
||||
url: url,
|
||||
type: 'HEAD'
|
||||
|
||||
Reference in New Issue
Block a user