Skip to content

Commit

Permalink
Update docs about base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
rap1ds committed Apr 17, 2019
1 parent 2e377e5 commit 6031c09
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ var sdk = sharetribeSdk.createInstance({
// The API ClientID (mandatory)
clientId: "08ec69f6-d37e-414d-83eb-324e94afddf0",

// The API base URL (mandatory)
baseUrl: "https://the-api-base-url.example.sharetribe.com/",

// Token store
//
// Token store instance to use. Token store is where the SDK saves the session information.
Expand Down Expand Up @@ -69,7 +66,13 @@ var sdk = sharetribeSdk.createInstance({
// If this configuration is `true` a verbose Transit mode is enabled.
// Useful for development.
// Default: false
transitVerbose: false
transitVerbose: false,

// The API base URL (optional)
// Defaults to Sharetribe production (https://flex-api.sharetribe.com)
// Change this if you want to point the SDK to somewhere else (like localhost).
// Useful mainly for Sharetribe's internal development
baseUrl: "https://the-api-base-url.example.sharetribe.com/"

});
```

0 comments on commit 6031c09

Please sign in to comment.