Skip to content

Commit

Permalink
feat: 移除fundebug
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Oct 27, 2023
1 parent fc920f6 commit 9466a02
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 81 deletions.
70 changes: 0 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"@nestjs/platform-express": "^10.2.7",
"@nestjs/swagger": "^7.1.14",
"@sindresorhus/is": "^4.6.0",
"@vue/server-renderer": "^3.3.6",
"bcrypt": "^5.0.1",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
Expand All @@ -26,14 +25,11 @@
"connect-history-api-fallback": "^1.6.0",
"connect-redis": "^4.0.4",
"cookie-parser": "^1.4.5",
"debug": "^4.1.1",
"devalue": "^4.2.0",
"dtrace-provider": "^0.8.8",
"express": "^4.17.1",
"express-session": "^1.17.0",
"feed": "^4.1.0",
"fs-extra": "^8.1.0",
"fundebug-nodejs": "0.2.0",
"helmet": "^4.2.0",
"html-substring": "^1.8.1",
"http-errors": "^1.7.3",
Expand Down
7 changes: 0 additions & 7 deletions packages/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,5 @@ export async function bootstrap(): Promise<void> {

app.use(express.static(publicRoot))

// if (configService.get('freyja.fundebug.enable')) {
// // eslint-disable-next-line @typescript-eslint/no-require-imports,@typescript-eslint/no-var-requires
// const fundebug = require('fundebug-nodejs')
// fundebug.apikey = configService.get('freyja.fundebug.apikey')
// app.use(fundebug.ExpressErrorHandler)
// }

await app.listen(port)
}

0 comments on commit 9466a02

Please sign in to comment.