mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 04:20:12 +08:00

In non secure contexts (HTTP vs HTTPS) which many run in development the `clipboardCopy` method falls back to and an exec hack. However, callers expect a promise from this method and the fallback just returns a boolean.