hetzner-storagebox-exporter/header.sh
Varakh f4b0c1d36a
All checks were successful
continuous-integration/drone/push Build is passing
Initial adapted version
2023-03-24 00:51:53 +01:00

9 lines
165 B
Bash
Executable file

#! /bin/sh
CONTENT=$(eval "$1")
echo "HTTP/1.0 200 OK"
echo "Content-Length: ${#CONTENT}"
echo "Content-Type: text/plain; charset=utf-8"
echo ""
echo "${CONTENT}"