Skip to content

Commit

Permalink
#86 fix : BASE_URL Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
plashdof committed Nov 26, 2023
1 parent 5af749b commit 51d8513
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import retrofit2.http.POST

interface IntroApi {

@POST("/api/user")
@POST("api/user")
suspend fun signup(
@Body params: DetailSignupRequest
): Response<Unit>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import retrofit2.http.Path

interface ValidationApi {

@GET("/api/user/nickname/{nickname}/exists")
@GET("api/user/nickname/{nickname}/exists")
suspend fun nickValidation(
@Path("nickname") nickname: String
): Response<BaseResponse<ValidateResponse>>

@GET("/api/user/email/{email}/exists")
@GET("api/user/email/{email}/exists")
suspend fun emailValidation(
@Path("email") email: String
): Response<BaseResponse<ValidateResponse>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.avengers.nibobnebob.presentation.util

object Constants {
const val APP_NAME = "NibobNebob"
const val BASE_URL = "https://www.nibobnebob.site:8000/api/"
const val BASE_URL = "https://www.nibobnebob.site:8000/"

const val AUTO_LOGIN = "AUTOLOGIN"
const val ACCESS = "Access"
Expand Down

0 comments on commit 51d8513

Please sign in to comment.