Fix service urls
This commit is contained in:
1 parent
d5b926f306
commit
cff4f084e2
5 files changed
+31
-18
No files matched your search
@@ -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.')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user