Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): revert to window.location.origin for clipboard URL

Gener54be75701c0b
diff --git a/src/web/src/components/home/hero-section.tsx b/src/web/src/components/home/hero-section.tsx
index dc5b58e59..c101c5313 100644
--- a/src/web/src/components/home/hero-section.tsx
+++ b/src/web/src/components/home/hero-section.tsx
@@ -147,7 +147,7 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {
style={{ opacity: 0 }}
onClick={() => {
navigator.clipboard.writeText(
- `Read ${process.env.NEXT_PUBLIC_APP_URL}/onboard.md and follow the instructions to install and configure Alook`
+ `Read ${window.location.origin}/onboard.md and follow the instructions to install and configure Alook`
);
setCopied(true);
setTimeout(() => setCopied(false), 2000);