#!/bin/bash set -euo pipefail # Change directory to the root of the project cd "$(dirname "$0")/.." # Run an instance that advertises itself to the origin API. export PORT="${PORT:-4443}" export API="${API:-http://localhost:4442}" # TODO support HTTPS export NODE="${NODE:-https://localhost:$PORT}" ./dev/relay