mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 23:26:17 +08:00
Merge branch 'slot-username' of ssh://github.com/coralproject/talk into slot-username
This commit is contained in:
@@ -97,6 +97,7 @@ const withCommentFragments = withFragments({
|
||||
asset: gql`
|
||||
fragment CoralEmbedStream_Comment_asset on Asset {
|
||||
__typename
|
||||
id
|
||||
${getSlotFragmentSpreads(slots, 'asset')}
|
||||
}
|
||||
`,
|
||||
|
||||
+1
-1
@@ -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`
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user