diff --git a/Projects/App/Sources/Application/SceneDelegate.swift b/Projects/App/Sources/Application/SceneDelegate.swift index 17be8fd5c..42cc4a2b5 100644 --- a/Projects/App/Sources/Application/SceneDelegate.swift +++ b/Projects/App/Sources/Application/SceneDelegate.swift @@ -65,8 +65,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { } LogManager.printDebug("URL: \(webpageURL.absoluteString)") - guard webpageURL.host == WM_UNIVERSALLINK_DOMAIN() || - webpageURL.host == WM_UNIVERSALLINK_TEST_DOMAIN() else { + guard webpageURL.host == WM_UNIVERSALLINK_DOMAIN() else { return } handleUniversalLink(url: webpageURL) diff --git a/Projects/Modules/Utility/Sources/DeepLink/DeepLinkGenerator.swift b/Projects/Modules/Utility/Sources/DeepLink/DeepLinkGenerator.swift index 53bee103c..e31a2a0d8 100644 --- a/Projects/Modules/Utility/Sources/DeepLink/DeepLinkGenerator.swift +++ b/Projects/Modules/Utility/Sources/DeepLink/DeepLinkGenerator.swift @@ -8,7 +8,6 @@ public final class WMDeepLinkGenerator: WMDeepLinkGeneratable { public init() {} public func generatePlaylistDeepLink(key: String) -> String { - #warning("나중에 딥링크 변경하기") - return "https://\(WM_UNIVERSALLINK_TEST_DOMAIN())/playlist/\(key)" + return "https://\(WM_UNIVERSALLINK_DOMAIN())/playlist/\(key)" } } diff --git a/Projects/Modules/Utility/Sources/Utils/Secrets.swift b/Projects/Modules/Utility/Sources/Utils/Secrets.swift index 5f8c4115f..c063680c1 100644 --- a/Projects/Modules/Utility/Sources/Utils/Secrets.swift +++ b/Projects/Modules/Utility/Sources/Utils/Secrets.swift @@ -89,9 +89,9 @@ public func WM_URI_SCHEME() -> String { } public func WM_UNIVERSALLINK_DOMAIN() -> String { - return config(key: "WM_UNIVERSALLINK_DOMAIN") -} - -public func WM_UNIVERSALLINK_TEST_DOMAIN() -> String { - return config(key: "WM_UNIVERSALLINK_TEST_DOMAIN") + #if DEBUG || QA + return config(key: "WM_UNIVERSALLINK_TEST_DOMAIN") + #else + return config(key: "WM_UNIVERSALLINK_DOMAIN") + #endif }