{"action":"opened","issue":{"url":"https://api.github.com/repos/jhipster/jhipster-registry/issues/246","repository_url":"https://api.github.com/repos/jhipster/jhipster-registry","labels_url":"https://api.github.com/repos/jhipster/jhipster-registry/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/jhipster-registry/issues/246/comments","events_url":"https://api.github.com/repos/jhipster/jhipster-registry/issues/246/events","html_url":"https://github.com/jhipster/jhipster-registry/issues/246","id":301524011,"number":246,"title":"/eureka/** is not open to CORS in dev environment","user":{"login":"henri-tremblay","id":1216819,"avatar_url":"https://avatars1.githubusercontent.com/u/1216819?v=4","gravatar_id":"","url":"https://api.github.com/users/henri-tremblay","html_url":"https://github.com/henri-tremblay","followers_url":"https://api.github.com/users/henri-tremblay/followers","following_url":"https://api.github.com/users/henri-tremblay/following{/other_user}","gists_url":"https://api.github.com/users/henri-tremblay/gists{/gist_id}","starred_url":"https://api.github.com/users/henri-tremblay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henri-tremblay/subscriptions","organizations_url":"https://api.github.com/users/henri-tremblay/orgs","repos_url":"https://api.github.com/users/henri-tremblay/repos","events_url":"https://api.github.com/users/henri-tremblay/events{/privacy}","received_events_url":"https://api.github.com/users/henri-tremblay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T19:10:46Z","updated_at":"2018-03-01T19:10:46Z","closed_at":null,"author_association":"NONE","body":"##### **Overview of the issue**\r\n\r\nThe `CorsFilter` is used to allow CORS on pretty much everything. However, the `/eureka/**` URL isn't covered by it. The Zuul proxy is somewhere else in standalone.\r\n\r\n##### **Motivation for or Use Case**\r\n\r\nI tried to access `/eureka/apps/XXX` from a website to get the deployment URL of an app. It is a toy app. It doesn't work.\r\n\r\n##### **Reproduce the error**\r\n\r\nTry to access http://localhost:8461/euraka/apps/XXX from any HTML app in a browser.\r\n\r\n##### **Suggest a Fix**\r\n\r\nConfigure Zuul correctly in dev to allow it I guess.\r\n\r\n##### **JHipster Registry Version(s)**\r\n\r\nCurrent master (bbbc407)\r\n\r\n##### **Browsers and Operating System**\r\n\r\nChrome\r\n\r\n- [x] Checking this box is mandatory (this is just to show you read everything)\r\n"}}
{"actor":{"display_login":"henri-tremblay"}}