Merge branch 'master' into banned-words

This commit is contained in:
Belén Curcio
2017-08-23 10:10:04 -03:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -96,6 +96,7 @@ const withCommentFragments = withFragments({
asset: gql`
fragment CoralEmbedStream_Comment_asset on Asset {
__typename
id
${getSlotFragmentSpreads(slots, 'asset')}
}
`,
+1 -1
View File
@@ -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`
});
});