@nodecode said:
@psychobunny said:
Wordpress integration is finally here Check out the repo for setup instructions. Go for a test drive on my blog:
For me, the WordPress integration does not work. e.g.:
WordPress: example.com
NodeBB: sub.example.com
Console: XMLHttpRequest cannot load http://sub.example.com/comments/get/XXX/0. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://example.com' is therefore not allowed access.I'll try to add the 'Access-Control-Allow-Origin' header with nginx.
Okay, I think I've found the error. The posts were not loaded into the forum, therefore, returns the URL http://sub.example.org/comments/get/XXX/0 "502 Bad Gateway", and sets, unlike the plugin is written, no Access-Control-Allow-Origin header.