UNPKG

egg-apollo-plus

Version:
16 lines (12 loc) 296 B
'use strict'; const path = require('path'); module.exports = appInfo => { const exports = {}; exports.apollo = { parseConfig: true, cachePath: path.join(appInfo.baseDir, 'apollo_cache'), host: 'http://localhost:8070', namespaces: ['application'], }; return exports; };