Skip to content

Commit 3c69ee3

Browse files
committed
Updated default api key and port
1 parent 14a10c1 commit 3c69ee3

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ instance. This is configured by setting the `serverUrl` on the default
224224
```js
225225
await Exceptionless.startup((c) => {
226226
c.apiKey = "API_KEY_HERE";
227-
c.serverUrl = "http://localhost:5000";
227+
c.serverUrl = "https://localhost:5100";
228228
});
229229
```
230230

example/browser/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ await Exceptionless.startup((c) => {
88
c.useDebugLogger();
99
c.services.log = new TextAreaLogger("logs", c.services.log);
1010

11-
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
12-
c.serverUrl = "http://localhost:5000";
11+
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
12+
c.serverUrl = "https://localhost:5100";
1313
c.updateSettingsWhenIdleInterval = 15000;
1414
c.usePersistedQueueStorage = true;
1515
c.setUserIdentity("12345678", "Blake");

example/express/app.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const app = express();
44
import { Exceptionless, KnownEventDataKeys } from "@exceptionless/node";
55

66
await Exceptionless.startup((c) => {
7-
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
8-
c.serverUrl = "http://localhost:5000";
7+
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
8+
c.serverUrl = "https://localhost:5100";
99
c.useDebugLogger();
1010
c.useLocalStorage();
1111
c.usePersistedQueueStorage = true;

example/react/src/App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class App extends Component {
1616
}
1717
async componentDidMount() {
1818
await Exceptionless.startup((c) => {
19-
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
20-
c.serverUrl = "http://localhost:5000";
19+
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
20+
c.serverUrl = "https://localhost:5100";
2121
c.useDebugLogger();
2222

2323
c.defaultTags.push("Example", "React");

example/react/src/HooksExampleApp.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const HooksExampleApp = () => {
1313

1414
const startExceptionless = async () => {
1515
await Exceptionless.startup((c) => {
16-
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
17-
c.serverUrl = "http://localhost:5000";
16+
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
17+
c.serverUrl = "https://localhost:5100";
1818
c.useDebugLogger();
1919

2020
c.defaultTags.push("Example", "React");

example/svelte-kit/src/hooks.client.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Exceptionless, toError } from "@exceptionless/browser";
22

33
Exceptionless.startup(c => {
4-
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
5-
c.serverUrl = "http://localhost:5000";
4+
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
5+
c.serverUrl = "https://localhost:5100";
66
c.useDebugLogger();
77

88
c.defaultTags.push("Example", "svelte-kit", "client");

example/svelte-kit/src/hooks.server.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Exceptionless, toError } from "@exceptionless/node";
22

33
Exceptionless.startup(c => {
4-
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
5-
c.serverUrl = "http://localhost:5000";
4+
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
5+
c.serverUrl = "https://localhost:5100";
66
c.useDebugLogger();
77

88
c.defaultTags.push("Example", "svelte-kit", "server");

example/vue/src/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { Exceptionless, ExceptionlessErrorHandler } from "@exceptionless/vue";
55
Exceptionless.startup((c) => {
66
c.useDebugLogger();
77

8-
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
9-
c.serverUrl = "http://localhost:5000";
8+
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
9+
c.serverUrl = "https://localhost:5100";
1010
c.updateSettingsWhenIdleInterval = 15000;
1111
c.usePersistedQueueStorage = true;
1212
c.setUserIdentity("12345678", "Blake");

packages/core/test/ExceptionlessClient.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -73,24 +73,24 @@ describe("ExceptionlessClient", () => {
7373
test("should allow construction via a configuration object", () => {
7474
const client = new ExceptionlessClient();
7575
client.config.apiKey = "UNIT_TEST_API_KEY";
76-
client.config.serverUrl = "http://localhost:5000";
76+
client.config.serverUrl = "https://localhost:5100";
7777

7878
expect(client.config.apiKey).toBe("UNIT_TEST_API_KEY");
79-
expect(client.config.serverUrl).toBe("http://localhost:5000");
79+
expect(client.config.serverUrl).toBe("https://localhost:5100");
8080
});
8181

8282
test("should allow construction via a constructor", async () => {
8383
const client = new ExceptionlessClient();
8484

8585
await client.startup(c => {
8686
c.apiKey = "UNIT_TEST_API_KEY";
87-
c.serverUrl = "http://localhost:5000";
87+
c.serverUrl = "https://localhost:5100";
8888
c.updateSettingsWhenIdleInterval = -1;
8989
});
9090

9191
await client.suspend();
9292
expect(client.config.apiKey).toBe("UNIT_TEST_API_KEY");
93-
expect(client.config.serverUrl).toBe("http://localhost:5000");
93+
expect(client.config.serverUrl).toBe("https://localhost:5100");
9494
});
9595

9696

0 commit comments

Comments
 (0)