refactor: better toast messages + minor ui improvements
This commit is contained in:
@@ -4,7 +4,7 @@ export function parseUrlAndPath(value) {
|
||||
const url = new URL(value)
|
||||
result.url = url.origin
|
||||
result.path = url.pathname
|
||||
} catch (error) {
|
||||
} catch (e) {
|
||||
const uriRegex = value.match(
|
||||
/^((http[s]?:\/\/)?(<<[^/]+>>)?[^/]*|)(\/?.*)$/
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user