This commit is contained in:
@ -3,7 +3,7 @@ import { createClient } from "redis";
|
||||
let redisClient = await connectRedis();
|
||||
|
||||
async function connectRedis(): Promise<any> {
|
||||
console.log("Connecting to redis");
|
||||
// console.log("Connecting to redis");
|
||||
const client = createClient({
|
||||
url: process.env.REDIS_URL,
|
||||
});
|
||||
|
8
src/secrets.js
Normal file
8
src/secrets.js
Normal file
@ -0,0 +1,8 @@
|
||||
const InfisicalClient = require("infisical-node");
|
||||
|
||||
const infisicalClient = new InfisicalClient({
|
||||
token: process.env.INFISICAL_TOKEN,
|
||||
siteURL: "https://secrets.fascinated.cc",
|
||||
});
|
||||
|
||||
module.exports = infisicalClient;
|
Reference in New Issue
Block a user