blob: 1384f1e9b86e028c45e30ca6dc45694da1742fc9 (
plain) (
tree)
|
|
#!/bin/bash
echo -n "Status: ${REDIRECT_STATUS}\r\n"
echo -n "Content-type: text/html; charset=utf-8\r\n\r\n"
cat <<EOF
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>This is fine.</title>
<style>@font-face{font-family: 'rocksalt';src: url('https://filestorage.chrisoft.org/rocksalt.woff');}</style>
</head>
<body style="background-color:#000;font-family:rocksalt;">
<div style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:569px;height:275px;">
<img src="//filestorage.chrisoft.org/thisisfinext.webp" width="569" alt="THIS IS FINE.">
<div style="position:absolute;left:360px;top:10px;font-size:14pt;font-weight:bold;">${REDIRECT_STATUS}. This is fine.</div>
<div style="font-size:8pt;color:#FFF;">Image by KC Green</div>
</div>
</body>
</html>
EOF
|