hapi icon indicating copy to clipboard operation
hapi copied to clipboard

How to add routes to servers within composer

Open kvnneff opened this issue 13 years ago • 1 comments

Using Composer and a json manifest to config and start my servers, how do I add routes to individual servers? I can't find an example or explanation anywhere in the docs.

Thanks!

kvnneff avatar Sep 10 '13 02:09 kvnneff

You can't. You need to create a plugin then add the routes in the plugin. The manifest allows you to specify plugins/servers combination or use labels.

hueniverse avatar Sep 10 '13 07:09 hueniverse