generated from nhcarrigan/template
+10
-10
@@ -10,26 +10,26 @@ import { logger } from "../utils/logger.js";
|
|||||||
const html = `<!DOCTYPE html>
|
const html = `<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Maylin Taryne</title>
|
<title>Keiko</title>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="description" content="An AI powered companion to help you through your darkest moments." />
|
<meta name="description" content="Naomi's personal AI assistant." />
|
||||||
<script src="https://cdn.nhcarrigan.com/headers/index.js" async defer></script>
|
<script src="https://cdn.nhcarrigan.com/headers/index.js" async defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<h1>Maylin Taryne</h1>
|
<h1>Keiko</h1>
|
||||||
<img src="https://cdn.nhcarrigan.com/new-avatars/maylin-full.png" width="250" alt="Maylin" />
|
<img src="https://cdn.nhcarrigan.com/new-avatars/keiko-full.png" width="250" alt="Keiko" />
|
||||||
<section>
|
<section>
|
||||||
<p>An AI powered companion to help you through your darkest moments.</p>
|
<p>Naomi's personal AI assistant.</p>
|
||||||
<a href="https://discord.com/oauth2/authorize?client_id=1343370633916059668" class="social-button discord-button" style="display: inline-block; background-color: #5865F2; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px; margin: 5px;">
|
<a href="https://chat.nhcarrigan.com" class="social-button discord-button" style="display: inline-block; background-color: #5865F2; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px; margin: 5px;">
|
||||||
<i class="fab fa-discord"></i> Add to Discord
|
<i class="fab fa-discord"></i> Join our Discord
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h2>Links</h2>
|
<h2>Links</h2>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://git.nhcarrigan.com/nhcarrigan/maylin-taryne">
|
<a href="https://git.nhcarrigan.com/nhcarrigan/keiko">
|
||||||
<i class="fa-solid fa-code"></i> Source Code
|
<i class="fa-solid fa-code"></i> Source Code
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
@@ -62,12 +62,12 @@ export const instantiateServer = (): void => {
|
|||||||
response.send(html);
|
response.send(html);
|
||||||
});
|
});
|
||||||
|
|
||||||
server.listen({ port: 5011 }, (error) => {
|
server.listen({ port: 3333 }, (error) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
void logger.error("instantiate server", error);
|
void logger.error("instantiate server", error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
void logger.log("debug", "Server listening on port 5011.");
|
void logger.log("debug", "Server listening on port 3333.");
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error instanceof Error) {
|
if (error instanceof Error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user