strongloop / loopback

LoopBack makes it easy to build modern applications that require complex integrations.
http://loopback.io
Other
13.23k stars 1.2k forks source link

Middleware file not being loaded #4062

Closed michaelerobertsjr closed 5 years ago

michaelerobertsjr commented 5 years ago

Not able to get middleware to be loaded. It is a basic scaffold of loopback 3 api app and does not appear to be hitting the middleware.js file at all:

https://github.com/SanDiegoCodeSchool/fantasy-football/pull/1

Is there some other flag missing or a configuration piece that needs to be setup?

michaelerobertsjr commented 5 years ago

Figured it out, we left our original server.js file in the root folder from before we scaffolded loopback.