diff options
author | Julio Capote <jcapote@gmail.com> | 2022-12-18 23:51:00 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2022-12-18 23:51:00 +0000 |
commit | 4f8325f5df55628544f13937975f38c6ef5d17ab (patch) | |
tree | 9e977ba3b3edbcf3cb900442dbd5c5659d39a4a3 /sample-cgi-handler.sh | |
parent | f0efb48bbd45ffd149cd9eb0603f7916ab9d8b67 (diff) | |
download | communique-4f8325f5df55628544f13937975f38c6ef5d17ab.tar.gz |
switch to using go-fed for activitystreams
Diffstat (limited to '')
-rwxr-xr-x | sample-cgi-handler.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sample-cgi-handler.sh b/sample-cgi-handler.sh index 55da4a0..afd4ada 100755 --- a/sample-cgi-handler.sh +++ b/sample-cgi-handler.sh @@ -1,10 +1,5 @@ #!/bin/bash -echo "Content-type: text/html" +echo "Content-type: text/plain" echo "" -echo '<html><body>' -echo 'Hello From Bash <br/>Environment:' -echo '<pre>' -/usr/bin/env -echo '</pre>' -echo '</body></html>' +echo "This is a random value from bash: $RANDOM on $(date)" exit 0 |