Compare commits
2 commits
5c928afe77
...
d3ba89b648
Author | SHA1 | Date | |
---|---|---|---|
D. Scott Boggs | d3ba89b648 | ||
D. Scott Boggs | e285643644 |
|
@ -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>
|
||||
|
|
4
index.js
4
index.js
|
@ -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' })
|
||||
|
|
Loading…
Reference in a new issue