blob: 102e57fc32b7a182140066055775e329f0091ac0 (
plain) (
tree)
|
|
#!/bin/bash
echo -ne "Status: 200 OK\r\n"
echo -ne "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
|