gfjiogopdfgdfs commited on
Commit
e300c13
·
verified ·
1 Parent(s): a886cc7

Delete start-cloudflared.sh

Browse files
Files changed (1) hide show
  1. start-cloudflared.sh +0 -16
start-cloudflared.sh DELETED
@@ -1,16 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Download and prepare cloudflared
4
- wget -q -c https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O cloudflared
5
- chmod +x cloudflared
6
-
7
- # Start cloudflared tunnel and output to a file
8
- ./cloudflared tunnel --url http://127.0.0.1:2242 &> cloudflared.log &
9
-
10
- # Wait for the URL to be generated
11
- while ! grep -q 'https://[^ ]*\.trycloudflare\.com' cloudflared.log; do
12
- sleep 1
13
- done
14
-
15
- # Output the URL
16
- grep -o 'https://[^ ]*\.trycloudflare\.com' cloudflared.log