chore(release): v2.7.1 — Global AI Partner Directory readiness (MCP tool annotations, claude.com/AI partner OAuth, Antigravity schema/serverUrl, server.json remotes, /terms)

This commit is contained in:
Amirul Islam Redwan71
2026-11-24 05:30:26 +06:00
parent 8aa306bf63
commit f48c86c3f9
29 changed files with 543 additions and 49 deletions
+8
View File
@@ -48,6 +48,7 @@ const PORT = Number(process.env.PORT || 8080);
const APP_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
const LANDING = path.join(APP_DIR, "index.html");
const PRIVACY_HTML = path.join(APP_DIR, "privacy.html");
const TERMS_HTML = path.join(APP_DIR, "terms.html");
const HEALTH_HTML = path.join(APP_DIR, "health.html");
const MCP_EXPLORER_HTML = path.join(APP_DIR, "mcp_explorer.html");
const GUIDE_HTML = path.join(APP_DIR, "guide.html");
@@ -728,6 +729,13 @@ app.get("/privacy", (_req, res) => {
}
});
});
app.get("/terms", (_req, res) => {
res.sendFile(TERMS_HTML, (err) => {
if (err && !res.headersSent) {
res.redirect("/");
}
});
});
app.get("/guide", (_req, res) => {
res.sendFile(GUIDE_HTML, (err) => {
if (err && !res.headersSent) {