Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
arsnova-click-v2-backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ARSnova
arsnova-click-v2-backend
Commits
1f692376
Commit
1f692376
authored
Nov 25, 2019
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Works on sentry config
parent
7b0d19fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/App.ts
src/App.ts
+1
-2
No files found.
src/App.ts
View file @
1f692376
...
...
@@ -39,7 +39,7 @@ export const routingControllerOptions: RoutingControllersOptions = {
controllers
:
[
AdminRouter
,
ApiRouter
,
ExpiryQuizRouter
,
I18nApiRouter
,
LegacyApiRouter
,
LibRouter
,
LobbyRouter
,
MemberRouter
,
NicksRouter
,
QuizRouter
,
],
middlewares
:
[
ErrorHandlerMiddleware
,
I18nMiddleware
],
middlewares
:
[
Handlers
.
errorHandler
(),
ErrorHandlerMiddleware
,
I18nMiddleware
],
};
// Creates and configures an ExpressJS web server.
...
...
@@ -60,7 +60,6 @@ class App {
this
.
middleware
();
this
.
routes
();
this
.
_express
.
use
(
Handlers
.
errorHandler
());
useExpressServer
(
this
.
_express
,
routingControllerOptions
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment