mirror of
https://github.com/turbomaster95/coderrrrr.git
synced 2025-05-12 04:50:13 +00:00
s
This commit is contained in:
parent
40883ac425
commit
0a8601279e
7
api/activitypub/old.ts
Normal file
7
api/activitypub/old.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import type { VercelRequest, VercelResponse } from "@vercel/node";
|
||||||
|
|
||||||
|
export default function (req: VercelRequest, res: VercelResponse) {
|
||||||
|
res.status(410).json({
|
||||||
|
error: "This account no longer exists."
|
||||||
|
});
|
||||||
|
};
|
@ -35,6 +35,10 @@
|
|||||||
"source": "/blog",
|
"source": "/blog",
|
||||||
"destination": "/api/activitypub/actor.ts"
|
"destination": "/api/activitypub/actor.ts"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/coder",
|
||||||
|
"destination": "/api/activitypub/old.ts"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/followers",
|
"source": "/followers",
|
||||||
"destination": "/api/activitypub/followers.ts"
|
"destination": "/api/activitypub/followers.ts"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user