Select the types of activity you want to include in your feed.
1 2export default { 3 modules: [ 4 '@nuxt/http', 5 ], 6 serverMiddleware: [ 7 { path: '/api/test', handler: function(req, res) { 8 res.setHeader('Content-Type', 'application/json') 9 res.end(JSON.stringify({ response: 'Hello from API.' })) 10 } 11 } 12 ] 13}