From 4128760a07aef6b568fd393437c7123601032954 Mon Sep 17 00:00:00 2001 From: vet Date: Tue, 14 Apr 2026 12:14:16 +0700 Subject: [PATCH] test --- common.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common.sh b/common.sh index d3deec4..5f57c1c 100755 --- a/common.sh +++ b/common.sh @@ -309,7 +309,12 @@ pc_check_wasm_assets() { fi local asset url ct - for asset in openIM.wasm sql-wasm.wasm wasm_exec.js; do + for asset in \ + openIM.wasm \ + sql-wasm.wasm \ + wasm_exec.js \ + node_modules/@openim/wasm-client-sdk/lib/worker.js \ + node_modules/@openim/wasm-client-sdk/lib/worker-legacy.js; do url="${origin}/${asset}" ct=$(curl -fsSI --max-time 5 "$url" 2>/dev/null | awk 'BEGIN{IGNORECASE=1} /^content-type:/ {sub(/\r$/, ""); print $0; exit}' || true) if [[ -n "$ct" ]] || curl -fsS --max-time 5 -r 0-0 "$url" >/dev/null 2>&1; then