Added CORS fallback logic

Depends on https://github.com/wet-boew/wet-boew/pull/6202