Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
mithril-security
/
blind_chat
like
105
Runtime error
App
Files
Files
Community
1
5528541
blind_chat
/
src
/
lib
/
utils
/
share.ts
lauro1
test
faca43f
about 1 year ago
raw
Copy download link
history
blame
Safe
175 Bytes
export
function
share
(
url:
string
, title:
string
) {
if
(navigator.
share
) {
navigator.
share
({ url, title });
}
else
{
prompt
(
"Copy this public url to share:"
, url);
}
}