Skip to content

Commit 779e525

Browse files
committed
chore(demo): demo-canli.sh'e caffeinate ekle (Mac uyumasın → tunnel kopmaz)
Tunnel komutu `caffeinate -dimsu cloudflared ...` ile sarmalandı: demo boyunca Mac idle/display/system uykusuna geçmez, public URL kopmaz. macOS yerleşik komut; cloudflared bitince (Ctrl+C) caffeinate da serbest kalır.
1 parent ad630e8 commit 779e525

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

demo-canli.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ for i in $(seq 1 30); do
2626
sleep 1
2727
done
2828

29-
echo "🌐 [3/3] Cloudflare tunnel açılıyor — aşağıdaki HTTPS URL'ini paylaş:"
29+
echo "🌐 [3/3] Cloudflare tunnel açılıyor (☕ uyku engellendi) — aşağıdaki HTTPS URL'ini paylaş:"
3030
echo " (giriş: admin@demo.test / 123456)"
3131
echo ""
32-
cloudflared tunnel --url http://localhost:8000
32+
# caffeinate: demo boyunca Mac uyumasın (idle/display/system) → tunnel kopmaz.
33+
# cloudflared'in alt-süreci olarak çalışır; Ctrl+C ile birlikte serbest kalır.
34+
# (macOS yerleşik komutu, kurulum gerekmez.)
35+
caffeinate -dimsu cloudflared tunnel --url http://localhost:8000

0 commit comments

Comments
 (0)