{"action":"created","issue":{"url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1","repository_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame","labels_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1/comments","events_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1/events","html_url":"https://github.com/santiihoyos/GitKraken_minigame/issues/1","id":146577507,"number":1,"title":"Problema con CORS!!!! --Ranking--","user":{"login":"santiihoyos","id":10730150,"avatar_url":"https://avatars.githubusercontent.com/u/10730150?v=3","gravatar_id":"","url":"https://api.github.com/users/santiihoyos","html_url":"https://github.com/santiihoyos","followers_url":"https://api.github.com/users/santiihoyos/followers","following_url":"https://api.github.com/users/santiihoyos/following{/other_user}","gists_url":"https://api.github.com/users/santiihoyos/gists{/gist_id}","starred_url":"https://api.github.com/users/santiihoyos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiihoyos/subscriptions","organizations_url":"https://api.github.com/users/santiihoyos/orgs","repos_url":"https://api.github.com/users/santiihoyos/repos","events_url":"https://api.github.com/users/santiihoyos/events{/privacy}","received_events_url":"https://api.github.com/users/santiihoyos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/labels/help%20wanted","name":"help wanted","color":"128A0C"},{"url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"santiihoyos","id":10730150,"avatar_url":"https://avatars.githubusercontent.com/u/10730150?v=3","gravatar_id":"","url":"https://api.github.com/users/santiihoyos","html_url":"https://github.com/santiihoyos","followers_url":"https://api.github.com/users/santiihoyos/followers","following_url":"https://api.github.com/users/santiihoyos/following{/other_user}","gists_url":"https://api.github.com/users/santiihoyos/gists{/gist_id}","starred_url":"https://api.github.com/users/santiihoyos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiihoyos/subscriptions","organizations_url":"https://api.github.com/users/santiihoyos/orgs","repos_url":"https://api.github.com/users/santiihoyos/repos","events_url":"https://api.github.com/users/santiihoyos/events{/privacy}","received_events_url":"https://api.github.com/users/santiihoyos/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-04-07T10:44:01Z","updated_at":"2016-04-09T22:01:50Z","closed_at":"2016-04-07T21:24:20Z","body":"Hola,\r\n\r\nHe implementado la conexión a servidor del ranking mediante un web-service el problema que me he encontrado es que por politicas de seguridad de JavaScript no puedo hacer peticiones http desde un servidor a otro, para ello tendría que implementar algo llamado **CORS** os dejo la documentacion en unity donde advierten del tema ¿alguien sabe por dónde tirar?\r\n\r\n> http://docs.unity3d.com/Manual/webgl-networking.html\r\n\r\nDe todas formas el ranking si que funciona como se puede ver en este enlace:\r\n\r\n> http://51.254.134.174/prueba/\r\n\r\npero funciona porque el webservice y el juego están en el mismo servidor.\r\n\r\nUn saludo!"},"comment":{"url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/comments/207862343","html_url":"https://github.com/santiihoyos/GitKraken_minigame/issues/1#issuecomment-207862343","issue_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1","id":207862343,"user":{"login":"jakala","id":1677967,"avatar_url":"https://avatars.githubusercontent.com/u/1677967?v=3","gravatar_id":"","url":"https://api.github.com/users/jakala","html_url":"https://github.com/jakala","followers_url":"https://api.github.com/users/jakala/followers","following_url":"https://api.github.com/users/jakala/following{/other_user}","gists_url":"https://api.github.com/users/jakala/gists{/gist_id}","starred_url":"https://api.github.com/users/jakala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakala/subscriptions","organizations_url":"https://api.github.com/users/jakala/orgs","repos_url":"https://api.github.com/users/jakala/repos","events_url":"https://api.github.com/users/jakala/events{/privacy}","received_events_url":"https://api.github.com/users/jakala/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T22:01:50Z","updated_at":"2016-04-09T22:01:50Z","body":"Respecto a este tema:\n\nLa web que está alojada en github incrusta ahora los archivos remotos del build que hay en el tercer de santii. Esto da como resultado un control mayor desde la web para el tema de los tamaños.\n\nSin embargo me da un problema de cors, el cual según he leído se resuelve añadiendo la cabecera de content-type en la respuesta del servidor.\n\n@santi,puedes pasarme el script del webservice que utilizas para el halloffame?\n\n\n\nSugerencia: que tal el nombre de \"hall of kraken\" para esa pantalla? 😸"}}