I had to add DISCOURSE_ENABLE_CORS: true to the app.yml then ./launcher rebuild app as well.
DISCOURSE_ENABLE_CORS: true
./launcher rebuild app