Implement WebFinger, rework TS

This commit is contained in:
Jesse Wierzbinski 2023-09-12 10:48:10 -10:00
parent 29f63dfcb7
commit c573052450
No known key found for this signature in database
GPG key ID: F9A1E418934E40B0
56 changed files with 560 additions and 239 deletions

View file

@ -5,4 +5,10 @@ export const jsonResponse = (data: object, status = 200) => {
},
status,
});
}
export const errorResponse = (error: string, status = 500) => {
return jsonResponse({
error: error
}, status);
}