mirror of
https://github.com/wassname/talk.git
synced 2026-10-03 13:02:47 +08:00
Merge pull request #871 from coralproject/graphiql-fix
Template bug fix
This commit is contained in:
commit
a5f7a7cd75
1 file changed
+1
-1
+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