Skip to content

Commit ebe52fe

Browse files
committed
docs(readme): use api.qtsurfer.com (prod target) not .net (pre)
A prior drive-by edit in this PR replaced 'api.qtsurfer.com' with 'api.qtsurfer.net' to match what was running in pre. That direction is wrong: the documented base URL in README quickstarts should reflect the production target, which is .com. .net is the staging / pre-prod host that adopters do not need to know about. This restores the three quickstart snippets (Exchange, Auth, ExchangeBinaryDownloads) to api.qtsurfer.com, aligning Java with api-client-python and api-client-ts.
1 parent e913e20 commit ebe52fe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import com.qtsurfer.api.client.model.Exchange;
6666
import java.util.List;
6767

6868
ApiClient client = new ApiClient();
69-
client.updateBaseUri("https://api.qtsurfer.net/v1");
69+
client.updateBaseUri("https://api.qtsurfer.com/v1");
7070
client.setRequestInterceptor(builder ->
7171
builder.header("Authorization", "Bearer " + System.getenv("QTSURFER_TOKEN")));
7272

@@ -85,7 +85,7 @@ import com.qtsurfer.api.client.invoker.ApiClient;
8585
import com.qtsurfer.api.client.model.AuthTokenResponse;
8686

8787
ApiClient apikeyClient = new ApiClient();
88-
apikeyClient.updateBaseUri("https://api.qtsurfer.net/v1");
88+
apikeyClient.updateBaseUri("https://api.qtsurfer.com/v1");
8989
apikeyClient.setRequestInterceptor(builder ->
9090
builder.header("X-API-Key", System.getenv("QTSURFER_APIKEY")));
9191

@@ -135,7 +135,7 @@ The class reuses the `ApiClient`'s `HttpClient` and request interceptor, so any
135135
`ApiClient` exposes the underlying `HttpClient.Builder` and an `ObjectMapper`, plus hooks for request/response interceptors.
136136

137137
```java
138-
client.updateBaseUri("https://api.qtsurfer.net/v1");
138+
client.updateBaseUri("https://api.qtsurfer.com/v1");
139139

140140
client.setRequestInterceptor(builder ->
141141
builder.header("Authorization", "Bearer " + token)

0 commit comments

Comments
 (0)