We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11714a2 commit d8f2830Copy full SHA for d8f2830
src/utils/api.ts
@@ -66,7 +66,7 @@ export function getLastFiveOfApiToken(token: string): string {
66
}
67
68
// The API server that should be used for operations.
69
-function getDefaultApiBaseUrl(): string | undefined {
+export function getDefaultApiBaseUrl(): string | undefined {
70
const baseUrl =
71
process.env['SOCKET_SECURITY_API_BASE_URL'] || getSetting('apiBaseUrl')
72
return isNonEmptyString(baseUrl) ? baseUrl : undefined
0 commit comments