Skip to content

Commit

Permalink
✨ :: [#1287] privacy, terms 주소 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon committed Sep 2, 2024
1 parent 1184e5b commit 921e2e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 63 deletions.
29 changes: 4 additions & 25 deletions Projects/App/Support/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
<false/>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>naversearchapp</string>
<string>naversearchthirdlogin</string>
<string>youtube</string>
<string>youtubemusic</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
Expand All @@ -70,10 +70,10 @@
<dict>
<key>BASE_DEV_URL</key>
<string>$(BASE_DEV_URL)</string>
<key>BASE_IMAGE_URL</key>
<string>$(BASE_IMAGE_URL)</string>
<key>BASE_PROD_URL</key>
<string>$(BASE_PROD_URL)</string>
<key>CDN_DOMAIN_URL</key>
<string>$(CDN_DOMAIN_URL)</string>
<key>GOOGLE_CLIENT_ID</key>
<string>$(GOOGLE_CLIENT_ID)</string>
<key>GOOGLE_URL_SCHEME</key>
Expand All @@ -100,22 +100,6 @@
<string>$(WMDOMAIN_FAQ)</string>
<key>WMDOMAIN_IMAGE</key>
<string>$(WMDOMAIN_IMAGE)</string>
<key>WMDOMAIN_IMAGE_ARTIST_ROUND</key>
<string>$(WMDOMAIN_IMAGE_ARTIST_ROUND)</string>
<key>WMDOMAIN_IMAGE_ARTIST_SQUARE</key>
<string>$(WMDOMAIN_IMAGE_ARTIST_SQUARE)</string>
<key>WMDOMAIN_IMAGE_NEWS</key>
<string>$(WMDOMAIN_IMAGE_NEWS)</string>
<key>WMDOMAIN_IMAGE_NOTICE</key>
<string>$(WMDOMAIN_IMAGE_NOTICE)</string>
<key>WMDOMAIN_IMAGE_PLAYLIST</key>
<string>$(WMDOMAIN_IMAGE_PLAYLIST)</string>
<key>WMDOMAIN_IMAGE_PROFILE</key>
<string>$(WMDOMAIN_IMAGE_PROFILE)</string>
<key>WMDOMAIN_IMAGE_RECOMMEND_PLAYLIST_ROUND</key>
<string>$(WMDOMAIN_IMAGE_RECOMMEND_PLAYLIST_ROUND)</string>
<key>WMDOMAIN_IMAGE_RECOMMEND_PLAYLIST_SQUARE</key>
<string>$(WMDOMAIN_IMAGE_RECOMMEND_PLAYLIST_SQUARE)</string>
<key>WMDOMAIN_LIKE</key>
<string>$(WMDOMAIN_LIKE)</string>
<key>WMDOMAIN_NOTICE</key>
Expand Down Expand Up @@ -185,10 +169,5 @@
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>youtube</string>
<string>youtubemusic</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ extension ContractType {
var url: String {
switch self {
case .privacy:
return "\(BASE_IMAGE_URL())/static/document/privacy.pdf"
return "\(CDN_DOMAIN_URL())/document/privacy.pdf"
case .service:
return "\(BASE_IMAGE_URL())/static/document/terms.pdf"
return "\(CDN_DOMAIN_URL())/document/terms.pdf"
}
}
}
Expand Down
39 changes: 3 additions & 36 deletions Projects/Modules/Utility/Sources/Utils/Secrets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,9 @@ public func config(key: String) -> String {
return secrets[key] as? String ?? "not found key"
}

// MARK: - BASE_IMAGE_URL
public func BASE_IMAGE_URL() -> String {
return config(key: "BASE_IMAGE_URL")
}

// MARK: - WMDomain > Image
public func WMDOMAIN_IMAGE_NEWS() -> String {
return config(key: "WMDOMAIN_IMAGE_NEWS")
}

public func WMDOMAIN_IMAGE_ARTIST_ROUND() -> String {
return config(key: "WMDOMAIN_IMAGE_ARTIST_ROUND")
}

public func WMDOMAIN_IMAGE_ARTIST_SQUARE() -> String {
return config(key: "WMDOMAIN_IMAGE_ARTIST_SQUARE")
}

public func WMDOMAIN_IMAGE_PROFILE() -> String {
return config(key: "WMDOMAIN_IMAGE_PROFILE")
}

public func WMDOMAIN_IMAGE_PLAYLIST() -> String {
return config(key: "WMDOMAIN_IMAGE_PLAYLIST")
}

public func WMDOMAIN_IMAGE_RECOMMEND_PLAYLIST_SQUARE() -> String {
return config(key: "WMDOMAIN_IMAGE_RECOMMEND_PLAYLIST_SQUARE")
}

public func WMDOMAIN_IMAGE_RECOMMEND_PLAYLIST_ROUND() -> String {
return config(key: "WMDOMAIN_IMAGE_RECOMMEND_PLAYLIST_ROUND")
}

public func WMDOMAIN_IMAGE_NOTICE() -> String {
return config(key: "WMDOMAIN_IMAGE_NOTICE")
// MARK: - CDN Domain
public func CDN_DOMAIN_URL() -> String {
return config(key: "CDN_DOMAIN_URL")
}

// MARK: - NAVER
Expand Down

0 comments on commit 921e2e3

Please sign in to comment.