Fix OPTION request issue for development env

Fix OPTION request issue for development environment when trying to request backend from another host(or even port). [CORS fix]