diff --git a/Werkout_ios/APIModels/AudioQueue.swift b/Werkout_ios/APIModels/AudioQueue.swift index 5f9ab76..e870274 100644 --- a/Werkout_ios/APIModels/AudioQueue.swift +++ b/Werkout_ios/APIModels/AudioQueue.swift @@ -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 diff --git a/Werkout_ios/Views/PlayerUIView.swift b/Werkout_ios/Views/PlayerUIView.swift index 7e04ffe..090b99e 100644 --- a/Werkout_ios/Views/PlayerUIView.swift +++ b/Werkout_ios/Views/PlayerUIView.swift @@ -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