Skip to content

Commit

Permalink
Merge pull request #61 from Flagsmith/fix/base-url
Browse files Browse the repository at this point in the history
fix(base_url): Use edge url
  • Loading branch information
gagantrivedi authored Oct 16, 2023
2 parents e6db4ce + 6ca2165 commit 284bab1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## [5.0.1]

- Change the base url to https://edge.api.flagsmith.com/api/v1/


## [5.0.0]

Expand Down
2 changes: 1 addition & 1 deletion lib/src/flagsmith_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class FlagsmithConfig {
/// You can configure the realtime updates source URL by setting the [realtimeUpdatesBaseURI] parameter
const FlagsmithConfig({
this.baseURI = 'https://api.flagsmith.com/api/v1/',
this.baseURI = 'https://edge.api.flagsmith.com/api/v1/',
this.flagsURI = 'flags/',
this.identitiesURI = 'identities/',
this.traitsURI = 'traits/',
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: >-
Flutter Client SDK for https://www.flagsmith.com/, Flagsmith is 100% Open
Source. Host yourself or let us take care of the hosting.
version: 5.0.0
version: 5.0.1
homepage: https://github.com/Flagsmith/flagsmith-flutter-client
repository: https://github.com/Flagsmith/flagsmith-flutter-client
issue_tracker: https://github.com/Flagsmith/flagsmith-flutter-client/issues
Expand Down

0 comments on commit 284bab1

Please sign in to comment.