pi-mono/apps/p2/plugins/proxy-marker/server.ts
Mario Zechner 05dc8d239d feat: add apps/p2 (imported from pi-private at 7dadff697)
p2 (Pi Mobile on Chord v2) moves from pi-private into pi as one commit. Root scripts that loop all workspaces
use --if-present; npm test, ./test.sh and the release script cover packages/* only (p2: cd apps/p2 && npm test);
sync-versions also updates apps' workspace pins.
2026-11-03 13:39:06 +00:00

8 lines
377 B
TypeScript

import { defineFacet } from "@p2/app/v1";
import { ProxyMarker } from "./contract.ts";
/** Marker classification lives in the host's origin checks, including when this facet is not loaded.
* This facet deliberately contributes NO authenticators. A proxy header can only remove device trust. */
export default defineFacet((host) => {
host.serve(ProxyMarker, () => ({}));
});