Cleanup utility function in connection manager

This commit is contained in:
Bill Thornton
2025-04-21 17:33:29 -04:00
parent 3188c1bc6b
commit f688c1f223
6 changed files with 55 additions and 171 deletions
+1 -1
View File
@@ -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'