(path = '')
| 166 | // webapp, and the share pipeline runs `new URL(link)` on whatever it is handed. |
| 167 | // An absolute `webappUrl` (the extension) passes through unchanged. |
| 168 | export const getAbsoluteWebappUrl = (path = ''): string => { |
| 169 | const url = `${webappUrl}${path}`; |
| 170 | const origin = globalThis?.location?.origin; |
| 171 | |
| 172 | return origin ? new URL(url, origin).toString() : url; |
| 173 | }; |
| 174 | |
| 175 | export const agentsHighlightsPath = '/highlights/vibes'; |
| 176 |
no outgoing calls
no test coverage detected