trailsjs / trailpack-hapi

:package: Hapi.js Trailpack
MIT License
19 stars 9 forks source link

Routes binded undefined route after #66 #69

Closed konstantinzolotarev closed 8 years ago

konstantinzolotarev commented 8 years ago

If no app.config.web.assets set in config additional route /undefined/{filename*} created.

{ settings: [Object],
       connection: [Object],
       server: [Object],
       path: '/undefined/{filename*}',
       method: 'get',
       plugin: [Object],
       _special: false,
       _analysis: [Object],
       params: [Object],
       fingerprint: '/undefined/#',
       public: [Object],
       _prerequisites: null,
       _extensions: [Object],
       _cycle: [Object] },
tjwebb commented 8 years ago

Weird, where does this come from? I didn't think that we were relying on web.assets for anything.

EDIT: Ok sorry, this is also re: #66. @weyj4 can you offer any insight here?

konstantinzolotarev commented 8 years ago

@tjwebb @weyj4 already fixed it. #72