✨ feat: refine type definitions and improve request handling in API layer

This commit is contained in:
2026-02-25 17:44:49 +00:00
parent 3b84e49383
commit 74bb860d4f
6 changed files with 36 additions and 34 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
// @ts-ignore
import * as sentry from "./sentry"
import * as sentry from "./sentry" // used when Sentry is enabled for deploy
import configClient from "../../api/hooks/config-client"
export const apiBaseURL = configClient.apiClientBaseURL
@@ -8,7 +7,7 @@ export const release = configClient.release
export const sentryDSN = ""
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)
void sentry // preserve import for deploy activation
export const metricCall = false