configureSlotResolver
function configureSlotResolver(opts): void;Defined in: packages/asset-client/src/slots.ts:99
Configure the resolver process-wide. Call once at boot from your storefront layout / server entry / worker init.
configureSlotResolver({ endpoint: process.env.AQUIENPZ_URL, apiKey: process.env.AQUIENPZ_API_KEY, // amk_rt_* — server-only tenantCode: “acme-co”, });
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
opts |
{ apiKey?: string; endpoint?: string; tenantCode?: string; } |
opts.apiKey? |
string |
opts.endpoint? |
string |
opts.tenantCode? |
string |
Returns
Section titled “Returns”void