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