remove added path from video urls
This commit is contained in:
@@ -30,7 +30,7 @@ struct AudioQueue: Codable, Identifiable, Equatable {
|
|||||||
} else if audioURL == "long_beep" {
|
} else if audioURL == "long_beep" {
|
||||||
return .finishBeep
|
return .finishBeep
|
||||||
} else {
|
} else {
|
||||||
if let url = URL(string: BaseURLs.currentBaseURL + "/media/" + audioURL) {
|
if let url = URL(string: BaseURLs.currentBaseURL + audioURL) {
|
||||||
return .remoteURL(url)
|
return .remoteURL(url)
|
||||||
} else {
|
} else {
|
||||||
return .shortBeep
|
return .shortBeep
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ class VideoURLCreator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if let urlString = urlString,
|
if let urlString = urlString,
|
||||||
let url = URL(string: BaseURLs.currentBaseURL + "/media/" + urlString) {
|
let url = URL(string: BaseURLs.currentBaseURL + urlString) {
|
||||||
return url
|
return url
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user