blob: 841bf2351da57b4e066398bcc42cf108d614a836 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
echo -n "Status: 200 OK\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
|