b383b11ae2
- Agent: mu-plugin embarqué amélioré (HTTPS forcé, filtres URL, localhost:port) - Agent: suppression des WP_HOME/WP_SITEURL hardcodés au démarrage des instances - Server/proxy: envoi X-Forwarded-Port, réécriture headers/body élargie - Server/proxy: sanitization des Set-Cookie (Secure, SameSite, Domain) - Dashboard: version agent 0.2.7, action Supprimer complète - Cleanup: binaires agent 0.2.3-0.2.6 remplacés par 0.2.7
13 lines
318 B
TypeScript
13 lines
318 B
TypeScript
import { NextResponse } from "next/server";
|
|
|
|
const AGENT_VERSION = "0.2.7";
|
|
|
|
export async function GET() {
|
|
return NextResponse.json({
|
|
version: AGENT_VERSION,
|
|
windows: `/edubox-agent-v${AGENT_VERSION}.exe`,
|
|
linux: `/edubox-agent-v${AGENT_VERSION}`,
|
|
mac: `/edubox-agent-v${AGENT_VERSION}-mac`,
|
|
});
|
|
}
|