Compare commits

..

2 commits

Author SHA1 Message Date
D. Scott Boggs d3ba89b648 reorder links 2023-10-05 10:12:13 -04:00
D. Scott Boggs e285643644 typo 2023-10-05 07:36:16 -04:00
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
<meta property="og:url" content="https://techwork.zone/">
<meta property="og:image" content="/pfp.png" />
<meta property="og:description"
content="Chat: matrix.to/#/#tws:matrix.org; blog.techwork.zone; Mastodon: @syndicate@tams.tech; BlueSky: @techwork.zone; Source code: git.techwork.zone" />
content="Mastodon: @syndicate@tams.tech; BlueSky: @techwork.zone; Chat: matrix.to/#/#tws:matrix.org; blog.techwork.zone; Source code: git.techwork.zone" />
<title>Tech Workers' Syndicate</title>
<style>
html,
@ -70,9 +70,9 @@
<body>
<h1 class="title">Tech Workers' Syndicate</h1>
<div class="links">
<a href="https://matrix.to/#/#tws:matrix.org">Join us!</a>
<a href="https://blog.techwork.zone/">Blog</a>
<a href="https://tams.tech/@syndicate" rel="me">Mastodon</a>
<a href="https://matrix.to/#/#tws:matrix.org">Join us!</a>
<a href="https://bsky.app/profile/techwork.zone" rel="me">BlueSky</a>
<a href="https://git.techwork.zone">Source Code</a>
</div>

View file

@ -8,10 +8,10 @@ async function main() {
const server = new Server(
(req, res) => {
if (req.url === '/pfp.png')
req.writeHead(200, { 'Content-Type': 'image/png' })
res.writeHead(200, { 'Content-Type': 'image/png' })
.end(pfp)
else if (req.url === '/favicon.ico')
req.writeHead(200, { 'Content-Type': 'image/vnd.microsoft.icon' })
res.writeHead(200, { 'Content-Type': 'image/vnd.microsoft.icon' })
.end(favicon)
else
res.writeHead(200, { 'Content-Type': 'text/html' })