refactor: Extract well-known services
This commit is contained in:
parent
2bdcd22ad4
commit
2d40a15d2b
3 changed files with 18 additions and 18 deletions
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][];
|
Loading…
Add table
Add a link
Reference in a new issue