Fix service urls

This commit is contained in:
Bassem Dghaidi authored and GitHub committed 2024-09-24 03:29:14 -07:00
1 parent d5b926f306
commit cff4f084e2
5 files changed
+31 -18

No files matched your search

+2 -2
View File
@@ -33,10 +33,10 @@ import {
retryHttpClientResponse,
retryTypedResponse
} from './requestUtils'
import { CacheUrl } from './constants'
import { getCacheServiceURL } from './config'
function getCacheApiUrl(resource: string): string {
const baseUrl: string = CacheUrl || ''
const baseUrl: string = getCacheServiceURL()
if (!baseUrl) {
throw new Error('Cache Service Url not found, unable to restore cache.')
}