mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-11 21:49:12 +00:00
Update assimilate to work with modern APE format
This commit is contained in:
parent
6dcdf91458
commit
651826b660
4 changed files with 9 additions and 17 deletions
|
@ -36,7 +36,7 @@ local function main()
|
|||
if IsPublicIp(GetClientAddr()) then
|
||||
ServeError(403)
|
||||
elseif GetMethod() == 'GET' or GetMethod() == 'HEAD' then
|
||||
WriteForm("https://www.cloudflare.com/robots.txt")
|
||||
WriteForm("https://justine.lol")
|
||||
elseif GetMethod() == 'POST' then
|
||||
status, headers, payload = Fetch(GetParam('url'))
|
||||
if status then
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>redbean virtual host</title>
|
||||
<h1>virtualbean.justine.lol</h1>
|
||||
<p>This page uses redbean virtual hosting. Please refer to
|
||||
<a href="//redbean.justine.lol">//redbean.justine.lol</a>
|
||||
to see the primary instance.
|
Loading…
Add table
Add a link
Reference in a new issue