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 0a00738 commit b5e7079Copy full SHA for b5e7079
.github/workflows/deploy-cors-proxy.yml
@@ -75,11 +75,13 @@ jobs:
75
76
readarray -t CUSTOM_ORIGINS <<<"${CUSTOM_SUPPORTED_ORIGINS_NEWLINE_SEPARATED}"
77
for origin in "${CUSTOM_ORIGINS[@]}"; do
78
+
79
if ! [[
80
$origin =~ ^https?:\/\/(?:[a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.[a-zA-Z]{2,}(?::\d{1,5})?$
81
]]; then
82
echo "Unable to use CUSTOM_SUPPORTED_ORIGINS_NEWLINE_SEPARATED"
83
echo "Invalid origin: '$origin'"
84
+ echo "Full contents: '${CUSTOM_SUPPORTED_ORIGINS_NEWLINE_SEPARATED}'"
85
exit -1;
86
fi
87
0 commit comments