ipx icon indicating copy to clipboard operation
ipx copied to clipboard

fix: use `hasProtocol` rather than checking if url starts with `http`

Open danielroe opened this issue 3 years ago • 2 comments

resolves https://github.com/unjs/ipx/issues/79

Thanks @eggsy.

danielroe avatar Jul 29 '22 16:07 danielroe

wow 🤯 - this was fast!

eggsy avatar Jul 29 '22 16:07 eggsy

Issue here is that localhost:3000 is thought to be a protocol -> https://github.com/unjs/ufo/issues/70

danielroe avatar Jul 29 '22 16:07 danielroe