We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b2da85 commit 276d133Copy full SHA for 276d133
check_mixedcontent.sh
@@ -1,6 +1,12 @@
1
#!/bin/bash
2
3
+if [[ $# -eq 2 && $2 -eq "debug" ]];
4
+then
5
+ debug="true"
6
+else
7
+ debug="false"
8
+fi
9
echo "Running mixed content report"
10
# e.g. arg could be _site for a jekyll site
-find $1 -name "*.html" | xargs phantomjs --web-security=false --disk-cache=true --ignore-ssl-errors=false --load-images=true --output-encoding=utf-8 report-mixed-content.js ;
11
+find $1 -name "*.html" | xargs phantomjs --debug=$debug --web-security=false --disk-cache=true --ignore-ssl-errors=false --load-images=true --output-encoding=utf-8 report-mixed-content.js ;
12
echo "report finsihed."
0 commit comments