Skip to content

Commit

Permalink
reorder initializers so middleware is effective (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
oroth8 authored Apr 5, 2023
1 parent c9ecdaa commit 144cf1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export class App {
this.proxied_api_url = PROXIED_API_URL || ''
this.proxied_api_token = PROXIED_API_TOKEN || ''

this.initializeMiddlewares()
this.initializeRoutes(routes)
this.initializeFrontend()
this.initializeMiddlewares()
this.initializeSwagger()
this.initializeErrorHandling()
this.initializeSwagger()
}

listen() {
Expand Down

0 comments on commit 144cf1c

Please sign in to comment.