We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21aaa42 commit 1f12e52Copy full SHA for 1f12e52
package/src/utils/utils.ts
@@ -112,7 +112,7 @@ export const getUrlWithoutParams = (url?: string) => {
112
return url.substring(0, url.indexOf('?'));
113
};
114
115
-export const isLocalUrl = (url: string) => url.indexOf('http') !== 0;
+export const isLocalUrl = (url: string) => url.includes('http');
116
117
export const generateRandomId = (a = ''): string =>
118
a
0 commit comments