Skip to content

Commit 71063e1

Browse files
committed
Export getDefaultApiBaseUrl
1 parent 527a779 commit 71063e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)