We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 527a779 commit 71063e1Copy full SHA for 71063e1
1 file changed
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