refactor: Extract well-known services
This commit is contained in:
4
src/well-known-services.ts
Normal file
4
src/well-known-services.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export const wellKnownServices = [
|
||||
['twitter.com', username => `https://twitter.com/${username}`],
|
||||
['github.com', username => `https://github.com/${username}`],
|
||||
] as [string, (username: string) => string][];
|
Reference in New Issue
Block a user