Skip to content

Commit

Permalink
[#142] Pull Develop
Browse files Browse the repository at this point in the history
  • Loading branch information
meenyweeny committed Aug 12, 2022
2 parents d5d9813 + 91a05b3 commit b667180
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Deartoday/Deartoday/Network/Base/NetworkConstant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct NetworkConstant {

static let noTokenHeader = ["Content-Type": "application/json"]
static let hasTokenHeader = ["Content-Type": "application/json",
"Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNjJkYTk4NjFiYTUxZTU5Zjc4NTU1MDQ5In0sImlhdCI6MTY1ODQ5MzY3NCwiZXhwIjoxNjU5NzAzMjc0fQ.ILj-rFGbKSAbRp97UEq3kqK-AsOdoZHU8lbzf2bQjgM"]
"Authorization": NetworkConstant.accessToken]

static var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNjJkMDE3ZDlmYmU5OTAyZDc4MDhmZDk5In0sImlhdCI6MTY1ODIxOTQ2NSwiZXhwIjoxNjU5NDI5MDY1fQ._MbCpp8PqnBM6y6J0OMjjrxMqGjLxBTFwpbPOtBAKX4"
static var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNjJkODA5NzMxZDIzN2MyMDhlYWFjZWExIn0sImlhdCI6MTY2MDIyOTI5MiwiZXhwIjoxNjYxNDM4ODkyfQ.QySrNWZLSOotLJwy-BlTOME5gYd7r1XB2WyJ29onUto"
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ extension TimeTravelService: BaseTargetType {
switch self {
case .oldMedia, .question:
return ["Content-Type": "application/json",
"Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNjJkYTk4NjFiYTUxZTU5Zjc4NTU1MDQ5In0sImlhdCI6MTY1ODQ5MzY3NCwiZXhwIjoxNjU5NzAzMjc0fQ.ILj-rFGbKSAbRp97UEq3kqK-AsOdoZHU8lbzf2bQjgM"]
"Authorization": NetworkConstant.accessToken]
case .dialog:
return ["Content-Type": "multipart/form-data",
"Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNjJkYTk4NjFiYTUxZTU5Zjc4NTU1MDQ5In0sImlhdCI6MTY1ODQ5MzY3NCwiZXhwIjoxNjU5NzAzMjc0fQ.ILj-rFGbKSAbRp97UEq3kqK-AsOdoZHU8lbzf2bQjgM"]
"Authorization": NetworkConstant.accessToken]
}

}
Expand Down
4 changes: 1 addition & 3 deletions Deartoday/Deartoday/Resource/Support/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {


func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Codebase file ํ™•์ธ ์ฝ”๋“œ - ์ถ”ํ›„ ์‚ญ์ œ
guard let scene = (scene as? UIWindowScene) else { return }
self.window = UIWindow(windowScene: scene)
self.window?.rootViewController = SplashViewController()
self.window?.makeKeyAndVisible()

// Default function

// guard let _ = (scene as? UIWindowScene) else { return }
}

Expand Down

0 comments on commit b667180

Please sign in to comment.