How to enable CORS option for LMS?

I want to enable CORS for LMS.

I tried to use
tutor config save --set CORS_ORIGIN_ALLOW_ALL=true.

then restart services using
tutor local quickstart

But it is not working. I also set export CORS_ORIGIN_ALLOW_ALL=true. Not working too. Thanks a lot.

You can make this configuration by using a YAML plugin. See Tutor’s documentation and search this forum for solutions that can inspire you.

Here is one I made for configuring e-mails from Studio: https://gist.github.com/ak00001/5d0f184a552e4ff81f01467de54de097

1 Like

@mgmgpyaesonewin How did you go with this? Any experience to be shared?