Skip to content

Commit bf9804b

Browse files
committed
export getDefaultApiBaseUrl
1 parent efbc2f0 commit bf9804b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/sdk.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const TOKEN_PREFIX_LENGTH = TOKEN_PREFIX.length
1818
const TOKEN_VISIBLE_LENGTH = 5
1919

2020
// The Socket API server that should be used for operations.
21-
function getDefaultApiBaseUrl(): string | undefined {
21+
export function getDefaultApiBaseUrl(): string | undefined {
2222
const baseUrl =
2323
constants.ENV.SOCKET_CLI_API_BASE_URL || getConfigValueOrUndef('apiBaseUrl')
2424
return isUrl(baseUrl) ? baseUrl : undefined

0 commit comments

Comments
 (0)