fixed Github repos not getting accessed and their CSS
This commit is contained in:
1 parent
9bc2015426
commit
c6b7bfbea1
6 files changed
+41
-27
No files matched your search
@@ -297,8 +297,6 @@ router.delete("/education/:edu_id", auth, async (req, res) => {
|
||||
// @desc Get user repos from Github
|
||||
// @access Public
|
||||
router.get("/github/:username", async (req, res) => {
|
||||
console.log(config.get("githubToken"));
|
||||
console.log(req.params.username);
|
||||
try {
|
||||
const uri = encodeURI(
|
||||
`https://api.github.com/users/${req.params.username}/repos?per_page=5&sort=created:asc`,
|
||||
|
||||
Reference in new issue
Block a user