website fixes before migration

This commit is contained in:
2025-12-12 14:33:52 -08:00
parent f8d5d4a69b
commit a5c3db32d3
6 changed files with 27 additions and 25 deletions

View File

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