fix: cert name

This commit is contained in:
Naomi Carrigan 2024-09-26 11:19:56 -07:00
parent 6bfe251fe7
commit 9c173ebc4f
Signed by: naomi
SSH Key Fingerprint: SHA256:rca1iUI2OhAM6n4FIUaFcZcicmri0jgocqKiTTAfrt8

View File

@ -16,10 +16,10 @@ export const instantiateServer = async (bot: Client) => {
logger: false, logger: false,
https: { https: {
cert: await readFile( cert: await readFile(
"/etc/letsencrypt/live/oogie.nhcarrigan.com-0001/cert.pem" "/etc/letsencrypt/live/oogie.nhcarrigan.com/cert.pem"
), ),
key: await readFile( key: await readFile(
"/etc/letsencrypt/live/oogie.nhcarrigan.com-0001/privkey.pem" "/etc/letsencrypt/live/oogie.nhcarrigan.com/privkey.pem"
), ),
}, },
}); });
@ -39,7 +39,7 @@ export const instantiateServer = async (bot: Client) => {
bot.user?.displayAvatarURL() ?? bot.user?.displayAvatarURL() ??
"https://cdn.nhcarrigan.com/profile.png", "https://cdn.nhcarrigan.com/profile.png",
content: "Fastify server live on port 1443~!", content: "Fastify server live on port 1443~!",
username: bot.user?.username ?? "Hacktoberfest", username: bot.user?.username ?? "Boost Monitor",
}); });
}); });
} catch (err) { } catch (err) {