Hi everyone, I was trying to make a plugin for WPS to enable citing with zotero and I intend to do it with the HTTP citing protocol. However, the WPS plugin is client javascript and the fetch requests are blocked by CORS:
Access to fetch at 'http://127.0.0.1:23119/connector/document/execCommand' from origin 'http://127.0.0.1:3889' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The 3889 port binds to the wpsjs debug server. The origin is 'file://' when deployed offline, but still gets blocked. So, is the connector only meant to be used by Google Docs and not even allow local access? Or, is there any workaround to this?