ã¯ããã« ã¯ãã¹ãã¡ã¤ã³å¶ç´ã¨ã¯ãã¯ã©ã¤ã¢ã³ãã¨ãµã¼ãã®ãã¡ã¤ã³ãç°ãªãã¨éä¿¡ãã§ããªãå¶ç´ã®ãã¨ã âãã©ã¦ã¶ãlocalhostãSinatraãlocalhost:4567ã«ããã¦éä¿¡ããæã®ã¨ã©ã¼ã [Error] XMLHttpRequest cannot load http://localhost:4567. Origin http://localhost is not allowed by Access-Control-Allow-Origin. ã§ã¯ã©ãããã°ããã®ãï¼ è§£æ±ºæ¹æ³ ã¯ã©ã¤ã¢ã³ãã¨åä¸ãã¡ã¤ã³ã«ãµã¼ãããçµç±ãããã¹ã¯ãªãããè¨ç½® (åè http://routesfate.blog80.fc2.com/blog-entry-218.html) JSONPã使ã (åè http://gihyo.jp/dev/serial/01/crossbrowser-ja
{{#tags}}- {{label}}
{{/tags}}