diff --git a/api/activitypub/followers.ts b/api/activitypub/followers.ts index c9294f1..ae81f08 100644 --- a/api/activitypub/followers.ts +++ b/api/activitypub/followers.ts @@ -19,7 +19,7 @@ export default async function (req: VercelRequest, res: VercelResponse) { const output = { "@context": "https://www.w3.org/ns/activitystreams", - "id": "https://status.kinlan.me/users/coder/following?page=1", + "id": "https://usr.cloud/@coder/following?page=1", "type": "OrderedCollectionPage", "totalItems": actors.docs.length, "orderedItems": actors.docs.map(item=>item.get("actor")) diff --git a/api/well-known/webfinger.ts b/api/well-known/webfinger.ts index dc97f5f..930af1b 100644 --- a/api/well-known/webfinger.ts +++ b/api/well-known/webfinger.ts @@ -7,19 +7,19 @@ export default function (req: VercelRequest, res: VercelResponse) { res.end(`{ "subject": "acct:coder@coderrrrr.site", "aliases": [ - "https://coderrrrr.site/@coder", - "https://coderrrrr.site/users/coder" + "https://coderrrrr.site/coder", + "https://coderrrrr.site/@coder" ], "links": [ { "rel": "http://webfinger.net/rel/profile-page", "type": "text/html", - "href": "https://coderrrrr.site/@coder" + "href": "https://coderrrrr.site/coder" }, { "rel": "self", "type": "application/activity+json", - "href": "https://coderrrrr.site/users/coder" + "href": "https://coderrrrr.site/coder" }, { "rel": "http://ostatus.org/schema/1.0/subscribe", diff --git a/package.json.old b/package.json.old deleted file mode 100644 index f56aa51..0000000 --- a/package.json.old +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "coderrrrr.site", - "dependencies": { - "@firebase/app-types": "^0.9.0", - "@polymath-ai/client": "*", - "@polymath-ai/host": "*", - "@vercel/analytics": "^1.0.0", - "@vercel/edge": "^0.2.7", - "@vercel/kv": "^3.0.0", - "@vercel/node": "^2.9.10", - "@vercel/og": "^0.0.21", - "activitypub-core-types": "^0.0.363", - "ava": "^5.2.0", - "file-drop-element": "^1.0.1", - "firebase-admin": "^12.0.0", - "hugo-bin": "^0.97.0", - "multiparty": "^4.2.3", - "node-fetch": "^2.6.1", - "pinch-zoom-element": "^1.1.1", - "uuid": "^9.0.0", - "vercel": "^28.11.0", - "whatwg-flora-tmpl": "^1.0.3" - }, - "devDependencies": { - "@types/multiparty": "^0.0.33", - "@types/uuid": "^9.0.8", - "puppeteer": "^24.1.0", - "typescript": "^4.9.5" - }, -} diff --git a/pubkey.pem b/pubkey.pem new file mode 100644 index 0000000..a55310e --- /dev/null +++ b/pubkey.pem @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhSF4YYoESfQABVsOoO2x +xDyrK0zytFGhOr2aRHpmIcY//Dr5BhbJegHGGAVQSubHs+mS8YwZ/1NxcGuH870h +wTFKrVUJaMYf94WXNGKpieOBL8BAkqqAPwFL7KCto2FAwjjbstOfxIQULvH1qnlo +ic10/pKA8ide0q7X91qKmN7IYmFUmRCph7hWDJHoWsxdNaP8DS4/P4IRPfMHiUt3 +zzTKirM+6yjh7bjca6FbEmR8dDNqkrTwC5jlst32ZXE0Ncfw8tSYhW4tEJR9DyAm +9t1XBbpwPV3aWcnIfUfHYxXqShyp7rHqUQvpRsnfuCUklTwgxdBEQ/oxSgwcQ33z +nwIDAQAB +-----END PUBLIC KEY-----