GitHub user anthonycorbacho opened a pull request: https://github.com/apache/zeppelin/pull/1604
[HOT-FIX] - Prevent double injection of cross-origin headers from rest api ### What is this PR for? Prevent error `XMLHttpRequest cannot load http://localhost:8080/api/version. The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:9000, http://localhost:9000', but only one is allowed. Origin 'http://localhost:9000' is therefore not allowed access` ### What type of PR is it? [Hot Fix] You can merge this pull request into a Git repository by running: $ git pull https://github.com/anthonycorbacho/incubator-zeppelin fix/DoubleOriginInjectionInResponseHeader Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1604.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1604 ---- commit b898f85457a705df79528d1689756a2e6ff9cc20 Author: Anthony Corbacho <corbacho.anth...@gmail.com> Date: 2016-11-05T06:02:11Z Prevent double injection of cross-origin headers from rest api ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---