Files
dokku/tests/apps/.websocket.disabled/check_deploy
2021-02-13 02:09:24 -05:00

6 lines
195 B
Bash
Executable File

#!/usr/bin/env bash
set -e
output="$(curl -s -S -i -N -H \"Connection: Upgrade\" -H \"Upgrade: websocket\" -H \"Host: $1\" -H \"Origin: $1\" $1 -m 2)"
echo "$output"
test "$output" == "bazingaa"