8 lines
161 B
Plaintext
8 lines
161 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
curl -i -N -vv \
|
||
|
-H "Connection: Upgrade" \
|
||
|
-H "Upgrade: websocket" \
|
||
|
-H "Host: $(basename "$(dirname "$1")")" \
|
||
|
-H "Origin: $1" "$1"
|