Skip to content

Commit

Permalink
Trash Code removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen K Abraham committed Jul 31, 2020
1 parent db7a186 commit a754089
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,25 +72,7 @@ const dynamicRoutes = async () => {
}
}))
})
//
//
// Unable to execute
//
// const dynamicContributorsRoutes = await axios.get('https://api.github.com/repos/stacsnssce/official-website/stats/contributors')
// .then(async (data) => {
// return await Promise.all(data.data.map(async (dat) => {
// return {
// route: '/contributors/' + dat.author.login + '/',
// payload: await axios.get(dat.author.url)
// .then((res) => {
// return {
// title: res.data
// }
// })
// }
// }))
// })


const route = [...dynamicNewsletterRoutes,...dynamicAwardsRoutes, ...dynamicBlogRoutes, ...dynamicActivitiesRoutes]
return route
}
Expand Down

0 comments on commit a754089

Please sign in to comment.