(post: {
id: string;
slug?: string | null;
})
| 39 | `${process.env.NEXT_PUBLIC_WEBAPP_URL}tags/${encodeURIComponent(tag)}`; |
| 40 | |
| 41 | export const getPostPath = (post: { |
| 42 | id: string; |
| 43 | slug?: string | null; |
| 44 | }): string => `${webappUrl}posts/${post.slug || post.id}`; |
| 45 | |
| 46 | export function isValidHttpUrl(link: string): boolean { |
| 47 | try { |
no outgoing calls
no test coverage detected