diff --git a/routes/cider.js b/deprecated/cider.js similarity index 100% rename from routes/cider.js rename to deprecated/cider.js diff --git a/routes/nowplaying.js b/routes/nowplaying.js new file mode 100644 index 0000000..2254ab3 --- /dev/null +++ b/routes/nowplaying.js @@ -0,0 +1,11 @@ +const { app, globalConfig } = require("../index.js") + +app.get("/nowplaying", (rreq,rres) => { + if (rreq.query.format === "html") { + rres.send("The /nowplaying endpoint is currently under construction.") + } else { + rres.send({"message":"The /nowplaying endpoint is currently under construction."}) + } +}) + +module.exports = {app} \ No newline at end of file