Fork me on GitHub
#graphql
<
2018-04-05
>
lilactown16:04:02

kind of a dumb question - how do I tell lacinia-pedestal the correct path for graphiql, when my service's URL is not at the root of the domain?

hlship18:04:44

There are options to the service-map function for configuring that.

hlship18:04:36

Be aware that this area has been in flux for the last couple of releases, so you may need to upgrade to be able to fully configure the paths.

lilactown18:04:43

the issue is that my service is hosted on <domain>/service/. if I pass in :asset-path "/assets/graphiql", it will serve them on <domain>/service/assets/graphiql but that same exact path is used in graphiql.html - so it looks for <domain>/assets/graphiql

lilactown18:04:25

I tried passing in a relative path assets/graphiql, but it complained