Added Spotify tracking. Fixed filters when none given.
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
const home = require("../controllers/home");
|
||||
const router = require("express").Router();
|
||||
|
||||
router.get("/", async (req, res) => {
|
||||
res.send("welcome to an empty page.");
|
||||
});
|
||||
|
||||
router.get("/auth/spotify", (req, res) => {
|
||||
home.authorizeSpotify(req, res);
|
||||
});
|
||||
|
||||
router.get("/callback", (req, res) => {
|
||||
home.callback(req, res);
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
Reference in New Issue
Block a user