Skip to content

Commit

Permalink
Add trailing slash to base url (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Sep 1, 2023
1 parent c471932 commit 9aab12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FlagsmithClient/src/main/java/com/flagsmith/Flagsmith.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.flagsmith.internal.enqueueWithResult
*/
class Flagsmith constructor(
private val environmentKey: String,
private val baseUrl: String = "https://edge.api.flagsmith.com/api/v1",
private val baseUrl: String = "https://edge.api.flagsmith.com/api/v1/",
private val context: Context? = null,
private val enableAnalytics: Boolean = DEFAULT_ENABLE_ANALYTICS,
private val analyticsFlushPeriod: Int = DEFAULT_ANALYTICS_FLUSH_PERIOD_SECONDS,
Expand Down Expand Up @@ -103,4 +103,4 @@ class Flagsmith constructor(
})
}

}
}

0 comments on commit 9aab12d

Please sign in to comment.