Support CORS setup on Publish website to allow embedding some part in my main site


I would like to embed some part of my Obsidian Publish site into my main Web site.
I am using AJAX for that, but currently it is not possible as I cannot enable Query from my main website.

Would it be possible, to allow my domain and subdomain origin when serving pages from publish ?

For example, my publish site is on That site could allows queries from and *

That would be handy to avoid duplicating some content (for example the list of the main pages).

Thanks !