Skip to content

Commit

Permalink
etc: 서버 주소 및 deviceId 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hryeong66 committed Oct 3, 2024
1 parent a04f7c5 commit bf8a2d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Projects/Core/PPACNetwork/Sources/Requestable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public protocol Requestable {
extension Requestable {

private var baseUrl: String {
return "http://ppac-server.run.goorm.io/api" // 개발 서버
//return "https://ppac-server-goorm.run.goorm.site/api" // 운영 서버
//return "http://ppac-server.run.goorm.io/api" // 개발 서버
return "https://ppac-server-goorm.run.goorm.site/api" // 운영 서버
}

public func makeURL() -> URL? {
Expand All @@ -47,7 +47,7 @@ extension Requestable {
urlRequest.httpMethod = httpMethod.rawValue.uppercased()

var defaultHeaders = [
"x-device-id": UserInfo.shared.testDeviceId,
"x-device-id": UserInfo.shared.deviceId,
"accept": "application/json",
"Content-Type": "application/json"
]
Expand Down

0 comments on commit bf8a2d0

Please sign in to comment.