()
| 62 | }; |
| 63 | |
| 64 | export const getRootUrl = () => { |
| 65 | return "https://api-platform.com"; |
| 66 | /*if (!process.env.NEXT_ROOT_URL) return "https://api-platform.com"; |
| 67 | return process.env.NEXT_ROOT_URL?.startsWith("http") |
| 68 | ? process.env.NEXT_ROOT_URL |
| 69 | : `https://${process.env.NEXT_ROOT_URL}`;*/ |
| 70 | }; |
| 71 | |
| 72 | export const slugify = (t: string) => |
| 73 | t |
no outgoing calls
no test coverage detected