Update 'index.js'
This commit is contained in:
parent
b5dd11d7d7
commit
83598b940d
1 changed files with 3 additions and 3 deletions
6
index.js
6
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",
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue