Fork me on GitHub
#graphql
<
2018-01-21
>
afhammad18:01:47

Trying out lacinia-pedestal, whats the best way to add additional routes for example serving my SPA index.html?

afhammad18:01:29

or is it best to create a separate pedestal service?

afhammad20:01:22

Using separate service for now, would like to hear if there are recommended approaches though

lilactown22:01:08

I believe that the service-map fn returns a map that can be extended with further routes

hlship21:01:04

That's the intent. It uses the "modern" table format (a set of vectors).

lilactown22:01:51

it looks like you can pass in some options to the service-map fn that allows you to add additional interceptors

lilactown22:01:26

you can also probably just assoc the map that is returned by it with whatever additional interceptors/config for pedestal you want