Skip to content

Commit d8f2830

Browse files
committed
Export getDefaultApiBaseUrl
1 parent 11714a2 commit d8f2830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function getLastFiveOfApiToken(token: string): string {
6666
}
6767

6868
// The API server that should be used for operations.
69-
function getDefaultApiBaseUrl(): string | undefined {
69+
export function getDefaultApiBaseUrl(): string | undefined {
7070
const baseUrl =
7171
process.env['SOCKET_SECURITY_API_BASE_URL'] || getSetting('apiBaseUrl')
7272
return isNonEmptyString(baseUrl) ? baseUrl : undefined

0 commit comments

Comments
 (0)