Skip to content

Commit

Permalink
Fix: Fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Aug 15, 2023
1 parent 25e6916 commit d5e793a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sub-chart/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,18 @@ dotenv.config({ path: ".env" })
dotenv.config({ path: "../.env" })

const sentryEnabled = !!process.env.SENTRY_DSN_SUB_CHART

const gzip = promisify(gzipBase)

const app = Express()

if (sentryEnabled) {
sentry.init({
dsn: process.env.SENTRY_DSN_SUB_CHART,
tracesSampleRate: 1.0,
})
}

const gzip = promisify(gzipBase)

const app = Express()

const files = new Map<string, { path: string; date: Date }>()

const BACKEND_HOST = process.env.BACKEND_HOST!
Expand Down

0 comments on commit d5e793a

Please sign in to comment.