#!/bin/sh set -eu value=${1-} policy_file=${BACKEND_URL_POLICY_FILE:-/etc/thothii/backend-url-policy.json} jq -e --arg value "$value" '.relativeBases | index($value) != null' \ "$policy_file" >/dev/null