Update assimilate to work with modern APE format

This commit is contained in:
Justine Tunney 2023-01-04 06:34:48 -08:00
parent 6dcdf91458
commit 651826b660
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 9 additions and 17 deletions

View file

@ -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