Skip to content

Commit

Permalink
Merge pull request #240 from TEAMSTORMERS/hotfix/change_base_url
Browse files Browse the repository at this point in the history
Hotfix/change base url
  • Loading branch information
ethan-223 authored Apr 13, 2021
2 parents 5bc7585 + 57bda32 commit 422efc3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,6 @@ fabric.properties
/app/google-services.json
### key
keystores/

# SecretStrings. ex) baseUrl
app/src/main/java/com/stormers/storm/SecretStrings.kt
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ dependencies {

//Retrofit2
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.squareup.retrofit2:retrofit:2.7.1'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.7.1'

//평화랑 겹칠 수 있음 둘 중 하나 지우기
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package com.stormers.storm.network

import com.stormers.storm.ui.LoginActivity
import com.stormers.storm.SecretStrings
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import retrofit2.create

object RetrofitClient {
private const val BASE_URL = "http://3.34.179.75:3000"
private const val BASE_URL = SecretStrings.BASE_URL

private fun getInstance() : Retrofit {
return Retrofit.Builder()
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ buildscript {
}

project.ext {
versionCode = 2
versionName = "1.1.1"
versionCode = 3
versionName = "1.1.2"

compileSdkVersion = 30
targetSdkVersion = 30
Expand Down

0 comments on commit 422efc3

Please sign in to comment.