()
| 160 | } |
| 161 | |
| 162 | async function getLanguageServerUrl(): Promise<string> { |
| 163 | const user = await getStorageItem('user'); |
| 164 | const userPortalUrl = user?.userPortalUrl; |
| 165 | if (userPortalUrl === undefined || userPortalUrl === '') { |
| 166 | return 'https://server.codeium.com'; |
| 167 | } |
| 168 | return `${userPortalUrl}/_route/language_server`; |
| 169 | } |
no test coverage detected