Alternative implementation of CORS for Martini