完善拉取私有仓库

This commit is contained in:
whyour
2022-05-18 01:14:10 +08:00
parent 1695b8c0fe
commit 7caabe9063
6 changed files with 96 additions and 34 deletions
+2
View File
@@ -13,6 +13,7 @@ import UserService from '../services/user';
import handler from 'serve-handler';
import * as Sentry from '@sentry/node';
import { EnvModel } from '../data/env';
import { errors } from 'celebrate';
export default ({ app }: { app: Application }) => {
app.enable('trust proxy');
@@ -134,6 +135,7 @@ export default ({ app }: { app: Application }) => {
next(err);
});
app.use(errors());
app.use(Sentry.Handlers.errorHandler());
app.use(