tangled
alpha
login
or
join now
jordanreger.com
/
htmlsky
0
fork
atom
An HTML-only Bluesky frontend
0
fork
atom
overview
issues
pulls
pipelines
add bot detection temporarily
jordanreger.com
2 years ago
777971f3
00d58061
+4
1 changed file
expand all
collapse all
unified
split
main.js
+4
main.js
···
7
7
export const agent = new AtpAgent({ service: "https://public.api.bsky.app" });
8
8
9
9
Deno.serve(async (req) => {
10
10
+
// TEMPORARY: FOR BOT DETECTION ONLY
11
11
+
const headers = new Headers(req.headers);
12
12
+
console.log(headers.get("user-agent"));
13
13
+
10
14
const url = new URL(req.url);
11
15
const path = url.pathname;
12
16
const redir = `${url.protocol}${url.host}`;