Skip to content

Commit

Permalink
etc: 서버 주소 및 deviceId 변경
Browse files Browse the repository at this point in the history
etc: 서버 주소 및 deviceId 변경
  • Loading branch information
hryeong66 committed Oct 3, 2024
1 parent a04f7c5 commit 6ef4223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ enum MemeEditEndPoint: MultipartRequestable {
var path: String? {
switch self {
case .registerMeme:
return "meme"
return "/meme"
}
}

Expand Down
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 6ef4223

Please sign in to comment.