Skip to content

Commit 1f12e52

Browse files
committed
fix: iLocalUri utility
1 parent 21aaa42 commit 1f12e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const getUrlWithoutParams = (url?: string) => {
112112
return url.substring(0, url.indexOf('?'));
113113
};
114114

115-
export const isLocalUrl = (url: string) => url.indexOf('http') !== 0;
115+
export const isLocalUrl = (url: string) => url.includes('http');
116116

117117
export const generateRandomId = (a = ''): string =>
118118
a

0 commit comments

Comments
 (0)