add URL for plans

This commit is contained in:
2023-12-05 19:55:44 -07:00
parent 3f436476a2
commit bb122be319
6 changed files with 59 additions and 5 deletions

3
src/libs/util.ts Normal file
View File

@@ -0,0 +1,3 @@
export const isGlobalUri = (uri: string) => {
return uri && uri.match(new RegExp(/^[A-Za-z][A-Za-z0-9+.-]+:/));
};