From 4b07fea20c5de35d57aa9e35adc4868711ea0608 Mon Sep 17 00:00:00 2001 From: HongSJae Date: Thu, 12 Oct 2023 11:38:42 +0900 Subject: [PATCH] =?UTF-8?q?feat=20::=20info=20plist=20base=20url=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Projects/App/Support/Info.plist | 4 ++++ Projects/Domain/BaseDomain/Sources/JobisAPI.swift | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Projects/App/Support/Info.plist b/Projects/App/Support/Info.plist index a9de19e2..07d5f030 100644 --- a/Projects/App/Support/Info.plist +++ b/Projects/App/Support/Info.plist @@ -2,6 +2,8 @@ + API_BASE_URL + $(API_BASE_URL) AppIdentifierPrefix $(AppIdentifierPrefix) CFBundleDevelopmentRegion @@ -33,6 +35,8 @@ NSCameraUsageDescription 프로필 사진 변경을 하기 위해 사진을 찍으려면 카메라 권한이 필요합니다. + S3_BASE_URL + $(S3_BASE_URL) UIApplicationSupportsIndirectInputEvents UILaunchStoryboardName diff --git a/Projects/Domain/BaseDomain/Sources/JobisAPI.swift b/Projects/Domain/BaseDomain/Sources/JobisAPI.swift index 98b59cd5..44fd837c 100644 --- a/Projects/Domain/BaseDomain/Sources/JobisAPI.swift +++ b/Projects/Domain/BaseDomain/Sources/JobisAPI.swift @@ -11,7 +11,7 @@ public protocol JobisAPI: TargetType, JwtAuthorizable { public extension JobisAPI { var baseURL: URL { URL( - string: Bundle.main.object(forInfoDictionaryKey: "BASE_URL") as? String ?? "" + string: Bundle.main.object(forInfoDictionaryKey: "API_BASE_URL") as? String ?? "" ) ?? URL(string: "https://www.google.com")! }