tibi-docs/frontend/src/config.ts

13 lines
544 B
TypeScript
Raw Normal View History

2023-11-15 08:00:12 +01:00
import * as sentry from "./sentry"
2023-02-21 13:36:06 +01:00
import configClient from "../../api/hooks/config-client"
export const apiBaseURL = "/api/"
export const release = configClient.release
console.log("Release: ", release)
2023-11-15 08:00:12 +01:00
export const sentryDSN = "https://5063f9b5564d0fdece4e47a8e2e63672@sentry.basehosts.de/3"
export const sentryTracingOrigins = ["localhost", "project-domain.tld", /^\//]
export const sentryEnvironment: string = "local"
// need to execute early for fetch wrapping
// sentry.init(sentryDSN, sentryTracingOrigins, sentryEnvironment, release)