Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ if [[ -f "$CAC_DIR/cac-dns-guard.js" ]]; then
esac
case "${BUN_OPTIONS:-}" in
*cac-dns-guard.js*) ;;
*) export BUN_OPTIONS="${BUN_OPTIONS:-} --preload $CAC_DIR/cac-dns-guard.js" ;;
*) export BUN_OPTIONS="${BUN_OPTIONS:-} --preload=$CAC_DIR/cac-dns-guard.js" ;;
esac
fi
# fallback layer: HOSTALIASES (gethostbyname level)
Expand Down Expand Up @@ -328,7 +328,7 @@ if [[ -f "$CAC_DIR/fingerprint-hook.js" ]]; then
esac
case "${BUN_OPTIONS:-}" in
*fingerprint-hook.js*) ;;
*) export BUN_OPTIONS="--preload $CAC_DIR/fingerprint-hook.js ${BUN_OPTIONS:-}" ;;
*) export BUN_OPTIONS="--preload=$CAC_DIR/fingerprint-hook.js ${BUN_OPTIONS:-}" ;;
esac
fi

Expand Down