Skip to content

Commit

Permalink
sentry-config types
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Bulat <obulat@gmail.com>
  • Loading branch information
obulat committed Dec 22, 2023
1 parent b6e8288 commit cc741e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/utils/sentry-config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import type { ModuleOptions } from "@nuxtjs/sentry"

/**
* Get the Sentry configuration based on the current environment.
* @param isDisabled - whether to disable Sentry
* @returns the Sentry configuration to use
*/
export const sentryConfig: ModuleOptions = {
export const sentryConfig = {
dsn: process.env.SENTRY_DSN,
logMockCalls: false,
lazy: true,
Expand Down

0 comments on commit cc741e1

Please sign in to comment.