Skip to content

Commit

Permalink
feat/#344 로그삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
hooni0918 committed Aug 28, 2024
1 parent 887977c commit cc08686
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions KkuMulKum/Resource/Bundle/Bundle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,11 @@ enum Configuration: String {

extension Bundle {
var baseURL: URL? {
print("Current configuration: \(Configuration.current)")
print("Base URL key: \(Configuration.current.baseURLKey)")
print("Privacy info: \(String(describing: self.privacyInfo))")

guard let privacyInfo = self.privacyInfo else {
print("Failed to load privacyInfo")
guard let privacyInfo = self.privacyInfo,
let urlString = privacyInfo[Configuration.current.baseURLKey] as? String,
let url = URL(string: urlString) else {
return nil
}

guard let urlString = privacyInfo[Configuration.current.baseURLKey] as? String else {
print("Failed to find URL string for key: \(Configuration.current.baseURLKey)")
return nil
}

guard let url = URL(string: urlString) else {
print("Failed to create URL from string: \(urlString)")
return nil
}

print("Created base URL: \(url)")
return url
}
}

0 comments on commit cc08686

Please sign in to comment.