diff --git a/client/coral-embed-stream/src/containers/Comment.js b/client/coral-embed-stream/src/containers/Comment.js index 3d12c55d3..e34218883 100644 --- a/client/coral-embed-stream/src/containers/Comment.js +++ b/client/coral-embed-stream/src/containers/Comment.js @@ -97,6 +97,7 @@ const withCommentFragments = withFragments({ asset: gql` fragment CoralEmbedStream_Comment_asset on Asset { __typename + id ${getSlotFragmentSpreads(slots, 'asset')} } `, diff --git a/routes/index.js b/routes/index.js index dafaf09b9..6a8920dc3 100644 --- a/routes/index.js +++ b/routes/index.js @@ -89,7 +89,7 @@ if (process.env.NODE_ENV !== 'production') { // Interactive graphiql interface. router.use('/api/v1/graph/iql', (req, res) => { res.render('graphiql', { - endpointURL: `${req.locals.BASE_URL}api/v1/graph/ql` + endpointURL: `${req.app.locals.BASE_URL}api/v1/graph/ql` }); });