remove added path from video urls

This commit is contained in:
Trey t
2024-06-10 08:44:57 -05:00
parent 7b67d85b9c
commit 619cee69f2
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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