mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
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.
8 lines
377 B
TypeScript
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, () => ({}));
|
|
});
|