Skip to content

Commit

Permalink
feat: ✨배포 api 갈아낌(#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lia316 committed Jun 2, 2021
1 parent 9df3610 commit 4c18983
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 3 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,53 @@
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "EFDC7A0B-304B-4050-82F1-F0A8509261FC"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Airbnb/MainPage/Controller/MainPageViewController.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "23"
endingLineNumber = "23"
landmarkName = "viewDidLoad()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "6D414F91-BA3A-4A0F-92D9-2526DC57B69D"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Airbnb/MainPage/Controller/MainPageViewController.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "42"
endingLineNumber = "42"
landmarkName = "bind()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "DDBB8F6A-5C7E-44D5-B2A0-64045AA8C544"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Airbnb/MainPage/Controller/MainPageViewController.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "43"
endingLineNumber = "43"
landmarkName = "bind()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
2 changes: 1 addition & 1 deletion iOS/Airbnb/Airbnb/MainPage/UseCase/MainPageUseCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MainPageUseCase {
extension MainPageUseCase {

func requestMainPage() {
networkManager.get(type: Main.self, url: EndPoint.url(path: "/main")!)
networkManager.get(type: Main.self, url: EndPoint.url(path: "")!)
.receive(on: DispatchQueue.main)
.sink { error in
self.error = error as? Error
Expand Down
4 changes: 2 additions & 2 deletions iOS/Airbnb/Airbnb/Network.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ enum NetworkError: Error {
}

enum EndPoint {
static let scheme = "https"
static let host = "mockairbnb.herokuapp.com"
static let scheme = "http"
static let host = "54.180.21.249"
static let path = ""

static func url(path: String) -> URL? {
Expand Down
9 changes: 9 additions & 0 deletions iOS/Airbnb/Airbnb/SupportingFiles/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>LSApplicationCategoryType</key>
<string></string>
<key>CFBundleSpokenName</key>
<string></string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
Expand Down

0 comments on commit 4c18983

Please sign in to comment.