Hyeonsang Cho c8d5c108f3
fix(frontend): copy share links on the current origin (#8126)
* fix(frontend): copy share links on the current origin

The sidebar Share action rewrote the origin to the hosted demo
(https://deer-flow-v2.vercel.app) whenever the page ran on localhost or
127.0.0.1, which are the default make dev and Docker entry points. The
copied link never opened the thread, because the thread only exists on
the local deployment, and opening it sent the thread id (and a custom
agent name) to a host the operator does not control.

Always build the link from window.location.origin and pathOfThread().

* docs(changelog): reference #8126 for the share link origin fix
2026-11-11 13:06:19 +08:00
..