From 83598b940dca9fb0dd5d2b52b76a1134aee3cc34 Mon Sep 17 00:00:00 2001 From: hokkqi Date: Sun, 4 Oct 2020 23:32:15 +0200 Subject: [PATCH] Update 'index.js' --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index d98da67..3943182 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ const { const path = require("path"); // Init const app = express(); -const r = new redis(6379, "192.168.1.8", { +const r = new redis(6379, "192.168.1.11", { connectionName: `ALEXHELDT${dev ? "-dev" : ""}`, }); const get = promisify(r.get).bind(r); @@ -72,8 +72,8 @@ app.get("/", async (req, res) => { socials, music, creator: { - name: await r.get("creator_name"), - website: await r.get("creator_website"), + name: await r.get("creator_name") || 'https://himbo.cat', + website: await r.get("creator_website") || "lio", }, }); });