Skip to content

Commit

Permalink
docs: Use flagsmith.example.com as API URL placeholder (#4745)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Elwell <matthew.elwell@flagsmith.com>
  • Loading branch information
rolodato and matthewelwell authored Oct 17, 2024
1 parent fddbbe6 commit 64f0ed7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/docs/clients/client-side/flutter.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ You can use caches instead of async/await:

```dart
final config = FlagsmithConfig(
baseURI: 'http://yoururl.com/',
baseURI: 'https://flagsmith.example.com/api/v1/',
connectTimeout: 200,
receiveTimeout: 500,
sendTimeout: 500,
Expand Down Expand Up @@ -228,7 +228,7 @@ By default, the client uses the default configuration. You can override this con
```dart
final flagsmithClient = FlagsmithClient(
config: FlagsmithConfig(
baseURI: 'http://yoururl.com/'
baseURI: 'https://flagsmith.example.com/api/v1/'
), apiKey: 'YOUR_ENV_API_KEY');
```

Expand All @@ -237,7 +237,7 @@ Override the default configuration with your own:
```dart
final flagsmithClient = FlagsmithClient(
config: FlagsmithConfig(
baseURI: 'http://yoururl.com/',
baseURI: 'https://flagsmith.example.com/api/v1/',
connectTimeout: 200,
receiveTimeout: 500,
sendTimeout: 500,
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/clients/server-side.md
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,7 @@ final FlagsmithClient flagsmithClient = FlagsmithClient.newBuilder()
.setApiKey("FLAGSMITH_SERVER_SIDE_ENVIRONMENT_KEY")
.withConfiguration(FlagsmithConfig
.newBuilder()
.baseURI("http://yoururl.com")
.baseURI("https://flagsmith.example.com/api/v1/")
.build())
.withCache(FlagsmithCacheConfig
.newBuilder()
Expand All @@ -1802,7 +1802,7 @@ final FlagsmithClient flagsmithClient = FlagsmithClient.newBuilder()
.setApiKey("FLAGSMITH_SERVER_SIDE_ENVIRONMENT_KEY")
.withConfiguration(FlagsmithConfig
.newBuilder()
.baseURI("http://yoururl.com")
.baseURI("https://flagsmith.example.com/api/v1/")
.build())
.withCache(FlagsmithCacheConfig
.newBuilder()
Expand Down Expand Up @@ -1840,7 +1840,7 @@ final FlagsmithClient flagsmithClient = FlagsmithClient.newBuilder()
.setApiKey("FLAGSMITH_SERVER_SIDE_ENVIRONMENT_KEY")
.withConfiguration(FlagsmithConfig
.newBuilder()
.baseURI("http://yoururl.com")
.baseURI("https://flagsmith.example.com/api/v1/")
.build())
.withCache(FlagsmithCacheConfig
.newBuilder()
Expand Down

0 comments on commit 64f0ed7

Please sign in to comment.