17 lines
212 B
Bash
Executable File
17 lines
212 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Content-type: text/html"
|
|
echo ""
|
|
|
|
action="$(echo "$DOCUMENT_URI" | tr -d '/\;!&<>?#[]()"*')"
|
|
|
|
set -a
|
|
. .env
|
|
set +a
|
|
|
|
"./deploy_http.sh" 2>&1
|
|
ret="$?"
|
|
if [ "$ret" -ne 0 ] ; then
|
|
echo 'Error'
|
|
fi
|