diff --git a/extended-user-info-api/app.js b/extended-user-info-api/app.js index 28ee15b..82e4665 100644 --- a/extended-user-info-api/app.js +++ b/extended-user-info-api/app.js @@ -12,6 +12,10 @@ app.listen(port, () => { console.log("Server Listening on PORT:", port); }); +app.get("/", (a, response) => { + response.send("Please provide a Discord user id after the slash."); +}); + app.get("/*", (a, response) => { const options = { diff --git a/extended-user-info-api/vercel.json b/extended-user-info-api/vercel.json new file mode 100644 index 0000000..a313833 --- /dev/null +++ b/extended-user-info-api/vercel.json @@ -0,0 +1,15 @@ +{ + "version": 2, + "builds": [ + { + "src": "app.js", + "use": "@now/node" + } + ], + "routes": [ + { + "src": "/(.*)", + "dest": "app.js" + } + ] +} \ No newline at end of file