Skip to content

Commit

Permalink
Use new lb api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbrucker committed Jan 21, 2024
1 parent eb3c83d commit b3e259f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/api/abstract-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export abstract class AbstractApi<
protected readonly client: AxiosInstance

public constructor(poolIdentifier: string) {
this.client = axios.create({ baseURL: `https://api2.foxypool.io/api/v3/${poolIdentifier}` })
this.client = axios.create({ baseURL: `https://api.foxypool.io/api/v3/${poolIdentifier}` })
}

public async getPoolConfig(): Promise<PoolConfig> {
Expand Down
10 changes: 6 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './extensions/extensions'
import { AppModule } from './app/app.module'
import { environment } from './environments/environment'
import { gitCommitHash } from './environments/config'
import {Event, EventHint} from '@sentry/angular-ivy'
import {BrowserTracing, Event, EventHint, Replay} from '@sentry/angular-ivy'

const ignoreErrors = [
'Request failed with status code',
Expand All @@ -32,12 +32,14 @@ const ignoreErrors = [
Sentry.init({
dsn: 'https://37abd9100b744f01a9b38464c91c28e3@o236153.ingest.sentry.io/4505596429860864',
release: gitCommitHash || null,
tracePropagationTargets: ['localhost', 'https://api.foxypool.io/api'],
integrations: [
new Sentry.BrowserTracing({
tracePropagationTargets: ['localhost', 'https://api2.foxypool.io/api'],
new BrowserTracing({
routingInstrumentation: Sentry.routingInstrumentation,
}),
new Sentry.Replay(),
new Replay({
networkDetailAllowUrls: ['https://api.foxypool.io', 'https://oracle.foxypool.io'],
}),
],
// Performance Monitoring
tracesSampleRate: 0.05,
Expand Down

0 comments on commit b3e259f

Please sign in to comment.