From a5c3db32d338be9de4d96f166cccd97c25efeec1 Mon Sep 17 00:00:00 2001 From: Enstrayed Date: Fri, 12 Dec 2025 14:33:52 -0800 Subject: [PATCH] website fixes before migration --- routes/ip.js | 2 +- website/helpdesk/templates/landing.html | 9 ++++--- website/helpdesk/templates/newticket.html | 1 + ...n.html => 99999999-API-Documentation.html} | 11 ++++---- website/templates/construction.html | 2 +- website/templates/newindextemplate.html | 27 +++++++++---------- 6 files changed, 27 insertions(+), 25 deletions(-) rename website/posts/{20240409-API-Documentation.html => 99999999-API-Documentation.html} (94%) diff --git a/routes/ip.js b/routes/ip.js index 8b48df4..3ab9f4b 100644 --- a/routes/ip.js +++ b/routes/ip.js @@ -1,6 +1,6 @@ import { app } from "../index.js" -app.get("/api/ip", (rreq,rres) => { +app.get("/ip", (rreq,rres) => { let jsonResponse = { "IP": rreq.get("cf-connecting-ip") || rreq.ip, "Country": rreq.get("cf-ipcountry") || "not_cloudflare", diff --git a/website/helpdesk/templates/landing.html b/website/helpdesk/templates/landing.html index 6df3285..2ff011b 100644 --- a/website/helpdesk/templates/landing.html +++ b/website/helpdesk/templates/landing.html @@ -23,7 +23,8 @@

How can I help you?

-
+

If you are needing assistance, please reach out via a previously established
contact method or send an email to helpdesk (at) enstrayed (dot) com.

+

Popular Articles

-
+
diff --git a/website/helpdesk/templates/newticket.html b/website/helpdesk/templates/newticket.html index 72a8047..cc395d5 100644 --- a/website/helpdesk/templates/newticket.html +++ b/website/helpdesk/templates/newticket.html @@ -65,6 +65,7 @@
+

This page is still a WORK IN PROGRESS and does not function.

New Request

diff --git a/website/posts/20240409-API-Documentation.html b/website/posts/99999999-API-Documentation.html similarity index 94% rename from website/posts/20240409-API-Documentation.html rename to website/posts/99999999-API-Documentation.html index d3196bd..47340ad 100644 --- a/website/posts/20240409-API-Documentation.html +++ b/website/posts/99999999-API-Documentation.html @@ -16,11 +16,12 @@ Return to enstrayed.com

API Documentation

-

This page was last updated 2025-07-08.

+

This page was last updated 2025-12-12.

-

Source Code & Issue Tracker: github.com/enstrayed/enstrayedapi

+
+

Attention: This page is overdue for a rewrite and the information currently presented may not be accurate.

/api/nowplaying

@@ -85,7 +86,7 @@ }
-

/api/ip

+

/ip

ip.js
GET
@@ -126,7 +127,7 @@

Invalidates the token used to access the endpoint.

-
+ - -
- -
+ +
-

@Enstrayed

-
- Twitter - GitHub -
- +

/posts/

-

Blog-ish Posts

+
+ +
+ +