Table of Contents

TXDataBaseModule.AccessControlAllowOrigin Property

Gets or sets the client hosts for which CORS is enabled.

Remarks

Set it to * to accept any client. Enabling CORS also makes the module answer preflighted requests. When empty, CORS is not enabled.

Syntax

Unit: XData.Module.Base

property TXDataBaseModule.AccessControlAllowOrigin: string

See also