Smart Light CORS Issue


Dear All,

When using the PWA web app, i face an error, below are steps:

  1. Connect wifi to the AP of esp8266
  2. Click on "Scan:
  3. Open console of browser

I get the following error:

Access to XMLHttpRequest at '' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
app.js:336 Error:  Error: Network Error
    at e.exports (spread.js:25)
    at XMLHttpRequest.l.onerror (spread.js:25)

What shall I do to solve, this is a CORS issue. I am using mongoose-os firmware.