aboutsummaryrefslogtreecommitdiff
path: root/sample-cgi-handler.sh
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-12-18 23:51:00 +0000
committerJulio Capote <jcapote@gmail.com>2022-12-18 23:51:00 +0000
commit4f8325f5df55628544f13937975f38c6ef5d17ab (patch)
tree9e977ba3b3edbcf3cb900442dbd5c5659d39a4a3 /sample-cgi-handler.sh
parentf0efb48bbd45ffd149cd9eb0603f7916ab9d8b67 (diff)
downloadcommunique-4f8325f5df55628544f13937975f38c6ef5d17ab.tar.gz
switch to using go-fed for activitystreams
Diffstat (limited to '')
-rwxr-xr-xsample-cgi-handler.sh9
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