#!/usr/bin/env bash
set -euo pipefail

fall_back="http://${FRONTEND_HOST:-localhost}:8080/"
export CYPRESS_VUE_APP_ENVIRONMENT="development"
export CYPRESS_BASE_URL="${CYPRESS_BASE_URL:-$fall_back}"
CYPRESS_BASE_URL=${CYPRESS_BASE_URL} ${@}
