Compare commits
No commits in common. "d3ba89b648b21b2479ced6d032c93bf66520786f" and "5c928afe777058f9dfcac692ac6148b5ed1e5b79" have entirely different histories.
d3ba89b648
...
5c928afe77
|
@ -9,7 +9,7 @@
|
||||||
<meta property="og:url" content="https://techwork.zone/">
|
<meta property="og:url" content="https://techwork.zone/">
|
||||||
<meta property="og:image" content="/pfp.png" />
|
<meta property="og:image" content="/pfp.png" />
|
||||||
<meta property="og:description"
|
<meta property="og:description"
|
||||||
content="Mastodon: @syndicate@tams.tech; BlueSky: @techwork.zone; Chat: matrix.to/#/#tws:matrix.org; blog.techwork.zone; Source code: git.techwork.zone" />
|
content="Chat: matrix.to/#/#tws:matrix.org; blog.techwork.zone; Mastodon: @syndicate@tams.tech; BlueSky: @techwork.zone; Source code: git.techwork.zone" />
|
||||||
<title>Tech Workers' Syndicate</title>
|
<title>Tech Workers' Syndicate</title>
|
||||||
<style>
|
<style>
|
||||||
html,
|
html,
|
||||||
|
@ -70,9 +70,9 @@
|
||||||
<body>
|
<body>
|
||||||
<h1 class="title">Tech Workers' Syndicate</h1>
|
<h1 class="title">Tech Workers' Syndicate</h1>
|
||||||
<div class="links">
|
<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://blog.techwork.zone/">Blog</a>
|
||||||
<a href="https://tams.tech/@syndicate" rel="me">Mastodon</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://bsky.app/profile/techwork.zone" rel="me">BlueSky</a>
|
||||||
<a href="https://git.techwork.zone">Source Code</a>
|
<a href="https://git.techwork.zone">Source Code</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
4
index.js
4
index.js
|
@ -8,10 +8,10 @@ async function main() {
|
||||||
const server = new Server(
|
const server = new Server(
|
||||||
(req, res) => {
|
(req, res) => {
|
||||||
if (req.url === '/pfp.png')
|
if (req.url === '/pfp.png')
|
||||||
res.writeHead(200, { 'Content-Type': 'image/png' })
|
req.writeHead(200, { 'Content-Type': 'image/png' })
|
||||||
.end(pfp)
|
.end(pfp)
|
||||||
else if (req.url === '/favicon.ico')
|
else if (req.url === '/favicon.ico')
|
||||||
res.writeHead(200, { 'Content-Type': 'image/vnd.microsoft.icon' })
|
req.writeHead(200, { 'Content-Type': 'image/vnd.microsoft.icon' })
|
||||||
.end(favicon)
|
.end(favicon)
|
||||||
else
|
else
|
||||||
res.writeHead(200, { 'Content-Type': 'text/html' })
|
res.writeHead(200, { 'Content-Type': 'text/html' })
|
||||||
|
|
Loading…
Reference in a new issue