Applications built with Mesop should be embeddable into pages on external sites. AI (especially chat) UIs are prime candidates for embedding into host websites.
To enable this, CORS support will need to be added.
CORS can be added to Mesop relatively simply by copying the pattern used for Iframe Security. Iframe Security (SecurityPolicy) and CORS have similar use cases and implementations. Both of these mechanisms are implemented using HTTP response headers, and configuration via @me.page parameters make sense as a configuration mechanism.
I have a preliminary PR here: #1109
Applications built with Mesop should be embeddable into pages on external sites. AI (especially chat) UIs are prime candidates for embedding into host websites.
To enable this, CORS support will need to be added.
CORS can be added to Mesop relatively simply by copying the pattern used for Iframe Security. Iframe Security (SecurityPolicy) and CORS have similar use cases and implementations. Both of these mechanisms are implemented using HTTP response headers, and configuration via
@me.pageparameters make sense as a configuration mechanism.I have a preliminary PR here: #1109