Skip to content
Discussion options

You must be logged in to vote

This may be weird question, but are you running Lychee on http or https ?

The reason I am asking:
https://stackoverflow.com/questions/71873824/copy-text-to-clipboard-cannot-read-properties-of-undefined-reading-writetext

The use of navigator.clipboard requires a secure origin. So if your dev environment is being served over HTTP, then the clipboard method won't be available.

According to MDN Clipboard docs

This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rfilmyer
Comment options

@rfilmyer
Comment options

@ildyria
Comment options

Answer selected by rfilmyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Bugs
Labels
None yet
2 participants