Skip to content

Commit

Permalink
[MOD] 배포 서버, 버전 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
unam98 committed Feb 25, 2024
1 parent ac0544d commit cefbe31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ android {
applicationId "com.runnect.runnect"
minSdk 28
targetSdk 33
versionCode 20
versionName "1.0.4"
versionCode 21
versionName "2.0.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "String", "RUNNECT_DEV_URL", properties["RUNNECT_DEV_URL"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class ApplicationClass : Application() {

fun getBaseUrl(): String {
return when {
!BuildConfig.DEBUG -> BuildConfig.RUNNECT_NODE_URL // 추후 Prod 서버로 변경
!::appContext.isInitialized -> BuildConfig.RUNNECT_NODE_URL
!BuildConfig.DEBUG -> BuildConfig.RUNNECT_PROD_URL
!::appContext.isInitialized -> BuildConfig.RUNNECT_PROD_URL
else -> {
val mode = ApiMode.getCurrentApiMode(appContext)
when (mode) {
Expand Down

0 comments on commit cefbe31

Please sign in to comment.