Browse Source

fix: support local url

pull/7569/head
Pranav C 9 months ago
parent
commit
51d7845364
  1. 4
      packages/nc-gui/utils/urlUtils.ts

4
packages/nc-gui/utils/urlUtils.ts

@ -27,8 +27,8 @@ export const replaceUrlsWithLink = (text: string): boolean | string => {
return found && out
}
export const isValidURL = (str: string) => {
return isURL(`${str}`)
export const isValidURL = (str: string, extraProps?) => {
return isURL(`${str}`, extraProps)
}
export const openLink = (path: string, baseURL?: string, target = '_blank') => {

Loading…
Cancel
Save