-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: actpub action: commit revision: path_from: revision_from: 8ce28838c956b6288892cf2fc51a56538009120e: path_to: revision_to:
commit 8ce28838c956b6288892cf2fc51a56538009120e Author: epoch <epoch@thebackupbox.net> Date: Wed Mar 22 10:26:25 2023 +0000 switch to a genericly named htmx js file diff --git a/ap-inbox.cgi b/ap-inbox.cgi
--- a/ap-inbox.cgi +++ b/ap-inbox.cgi @@ -32,6 +32,7 @@ if [ "$PATH_INFO" = "" ];then printf "Status: 200 Ok\r\n" printf "Content-Type: text/plain; charset=utf-8\r\n\r\n" printf "All Good.\n" + exit 0 fi fi printf "Status: 401 Unauthorized\r\n" @@ -53,7 +54,7 @@ if [ "$PATH_INFO" = "" ];then if [ "${HTTP_HX_REQUEST}" != "true" ];then printf '<html><head>' printf '<link rel="stylesheet" type="text/css" href="/ap-style.css" />' - printf '<script src="/htmx.org.1.7.0.js"></script><title>object viewer</title></head><body>\n' + printf '<script src="/htmx.min.js"></script><title>object viewer</title></head><body>\n' ap-object2html "$pcache_file" else ap-object2html "$cache_file" @@ -73,7 +74,7 @@ if [ "$PATH_INFO" = "" ];then if [ "${HTTP_HX_REQUEST}" != "true" ];then printf '<html><head>' printf '<link rel="stylesheet" type="text/css" href="/ap-style.css" />' - printf '<script src="/htmx.org.1.7.0.js"></script><title>object viewer</title></head><body>\n' + printf '<script src="/htmx.min.js"></script><title>object viewer</title></head><body>\n' fi if [ "$reload" ];then printf '<div hx-get="?before=%s&reload=%s" hx-trigger="load delay:%ss once" hx-swap="outerHTML">' "${first}" "${reload}" "${reload}" @@ -115,7 +116,7 @@ if [ "$PATH_INFO" = "" ];then if [ "${HTTP_HX_REQUEST}" != "true" ];then printf '<html><head>' printf '<link rel="stylesheet" type="text/css" href="/ap-style.css" />' - printf '<script src="/htmx.org.1.7.0.js"></script><title>object viewer</title></head><body>\n' + printf '<script src="/htmx.min.js"></script><title>object viewer</title></head><body>\n' fi ls -t \ @@ -140,7 +141,7 @@ cat <<EOF <html id="top"> <head> <title>htmx fediverse inbox infinite scroll</title> - <script src="/htmx.org.1.7.0.js"></script> + <script src="/htmx.min.js"></script> <link rel="stylesheet" type="text/css" href="/ap-style.css" /> </head> <body>
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 16:42:22 2024