Skip to content

Commit c7796cc

Browse files
committed
Ignore the links generated by JavaScript
Wget doesn't run the javascript but follows the link used as template.
1 parent d771c84 commit c7796cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/jobs/webstandard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if [ "$ROLE" = "public" ]; then
8989
EXPECTED_HTTP_CODES="$EXPECTED_HTTP_CODES\|401"
9090
fi
9191
set +e
92-
NUM_ERRORS=$(grep -v "HTTP/1.1\" \($EXPECTED_HTTP_CODES\)" /var/log/nginx/domjudge.log | grep -v "robots.txt" -c; if [ "$?" -gt 1 ]; then exit 127; fi)
92+
NUM_ERRORS=$(grep -v "HTTP/1.1\" \($EXPECTED_HTTP_CODES\)" /var/log/nginx/domjudge.log | grep -v "robots.txt\|imgBase.replace" -c; if [ "$?" -gt 1 ]; then exit 127; fi)
9393
set -e
9494
echo "$NUM_ERRORS"
9595

0 commit comments

Comments
 (0)