fix(canvas): let headless hosts configure asset display routes
This commit is contained in:
@@ -1187,3 +1187,11 @@ shared HTTP transport. `foundry-ai.integration.mjs` additionally requires a real
|
||||
successful 202 before testing lost admission recovery; a rejected admission is
|
||||
not evidence for response-loss recovery. Its remote worker fixture replaces
|
||||
only generation output, not authenticated HTTP, PostgreSQL or service receipts.
|
||||
|
||||
`createFoundryAssets` accepts a host `displayURL(id)` callback. Its default is
|
||||
Endoleap's same-origin `/api/foundry/...` preview route; a Node or other host must
|
||||
provide its own reachable preview route and arrange authentication there. This
|
||||
does not change `sourceURL`, canonical asset identity or the authority scope.
|
||||
Use `assets.authority.read` for original bytes and digest verification: a display
|
||||
preview may have a different encoding or size. Credentials remain in the host's
|
||||
fetch/transport, never in document records or generated display URLs.
|
||||
|
||||
Reference in New Issue
Block a user