Fork me on GitHub
#pedestal
<
2017-08-29
>
slpssm18:08:32

Sorry if this is a FAQ, I just can’t find and answer. Is there a way to set a base path for the router? So if I set up a base route of /foo, and define a route in a router table /bar, the final route is /foo/bar?

slpssm18:08:36

I should mention that I’m new to pedestal. I should also say I’m actually trying to set a base path for lacinia-pedestal. I’d like to use /s/graphql rather than /graphql as the exposed endpoint.

slpssm19:08:00

I think this is going to take a pull request to lacinia-pedestal since the javascript is hard coded to /graphql