#!/usr/bin/env bash # DW store kit: verify_public.sh (DRAFT, read-only). Anyone can run it from anywhere. # Usage: bash verify_public.sh example.com OUT_DIR # Checks every built file over HTTPS on the domain and on www., compares md5 (after dropping the editor loader line # the app adds to HTML), checks the public catalog API and that cart/checkout/account pages are noindex. set -u DOMAIN="$1"; OUT="$2"; fail=0 strip() { sed -E '/^