Hi. I’m close to getting the example color changer from the workshop on Monday of GDC working, but I’ve been unable to generate an SSL certificate on Windows and the readme from that example doesn’t offer much guidance.
‘npm run cert’ fails because “./bin/generate_cert.sh server” doesn’t work on Windows. I’ve tried downloading the OpenSSL source and building it with nmake (in a Visual Studio prompt) and the provided makefile, but that also hasn’t worked. Microsoft doesn’t offer any up-to-date documentation on the matter, either.
I’m not sure if this matters currently. I’m running the viewer.html and live-config.html with the frontend and backend running as per the readme, and I’m getting this error:
Failed to load https://client-event-reporter.twitch.tv/v1/stats: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.
I’d like to have a more specific question here, but I have no web development experience so I’m not sure what to ask. Is this a problem with my certificates or something else?
Thanks.