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" {
|
||||
return .finishBeep
|
||||
} else {
|
||||
if let url = URL(string: BaseURLs.currentBaseURL + "/media/" + audioURL) {
|
||||
if let url = URL(string: BaseURLs.currentBaseURL + audioURL) {
|
||||
return .remoteURL(url)
|
||||
} else {
|
||||
return .shortBeep
|
||||
|
||||
@@ -119,7 +119,7 @@ class VideoURLCreator {
|
||||
}
|
||||
|
||||
if let urlString = urlString,
|
||||
let url = URL(string: BaseURLs.currentBaseURL + "/media/" + urlString) {
|
||||
let url = URL(string: BaseURLs.currentBaseURL + urlString) {
|
||||
return url
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user