strongloop / loopback-example-access-control

An example demonstrating LoopBack access control mechanisms.
Other
370 stars 168 forks source link

Upgrade LB Explorer and related changes #63

Closed crandmck closed 9 years ago

crandmck commented 9 years ago

Per https://github.com/strongloop-internal/scrum-loopback/issues/495

superkhau commented 9 years ago

@crandmck Feel free to merge after you address the failing tests.

crandmck commented 9 years ago

@superkhau The fix was just removing

"loopback#status": {
      "paths": "/"
    }

from middleware.json.

It seems like this should have been done before, because we're rendering views/index.ejs for the root route anyway, not running the status middleware. But somehow with the old way of setting the REST API via boot script, it still worked....but changing to the "new way" (via middleware.json), it stopped working.

Anyway, CI passes now.