[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-ie-http.
0

Configure Feed

Select the types of activity you want to include in your feed.

nuxt-ie-http / nuxt.config.js
266 B 13 lines
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}