Skip to content

Commit

Permalink
Tidy up server imports (#6937)
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB authored Aug 22, 2021
1 parent 8fd54b1 commit 6919b0a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
/* eslint-disable import/order */

import fs from 'fs'
import path from 'path'
import { fileURLToPath } from 'url'

// Set up Sentry reporting as early in the process as possible.
import configModule from 'config'
import Sentry from '@sentry/node'

import Server from './core/server/server.js'

// Set up Sentry reporting as early in the process as possible.
const config = configModule.util.toObject()
const disabledIntegrations = ['Console', 'Http']
Sentry.init({
Expand Down

0 comments on commit 6919b0a

Please sign in to comment.