Squashed commit of the following:

commit 8c90a783b6
Author: Samuel Huang <samuelh2006@gmail.com>
Date:   Fri Oct 4 20:37:19 2024 +1000

    Trivy compliant

commit 05857d2008
Author: Samuel Huang <samuelh2006@gmail.com>
Date:   Thu Oct 3 21:44:08 2024 +1000

    Add workflow_dispatch to Codacy

commit 4d3a971d17
Author: Samuel Huang <samuelh2006@gmail.com>
Date:   Thu Oct 3 21:36:40 2024 +1000

    Trivy compliant

commit a9c25bbf1f
Author: Samuel Huang <samuelh2006@gmail.com>
Date:   Thu Oct 3 20:56:44 2024 +1000

    Update trivy scanner

commit 368a9c36e0
Author: Samuel Huang <samuelh2006@gmail.com>
Date:   Tue Oct 1 08:20:43 2024 +1000

    Codacy compliant
This commit is contained in:
Samuel Huang
2024-10-04 21:07:51 +10:00
parent 614d53e540
commit b5d63799c0
20 changed files with 63 additions and 62 deletions

View File

@@ -99,7 +99,7 @@ inbound=$(echo $inbound| jq -c --arg fullchain "${fullchain}" --arg prvkey "${pr
# Fallback settings
for fb in "${fallback[@]}"
do
IFS=':'; fopt=(${fb}); fopt=(${fopt[@]})
IFS=':'; fopt=("${fb}"); fopt=("${fopt[@]}")
fhost="${fopt[0]}"; fport="${fopt[1]}"; fpath="${fopt[2]}"
unset IFS
if [ -z "${fport}" ]; then >&2 echo -e "Incorrect fallback format: $fb\n"; usage; exit 1; fi