{"action":"opened","issue":{"url":"https://api.github.com/repos/hifive/hifive-template-editor/issues/68","labels_url":"https://api.github.com/repos/hifive/hifive-template-editor/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/hifive/hifive-template-editor/issues/68/comments","events_url":"https://api.github.com/repos/hifive/hifive-template-editor/issues/68/events","html_url":"https://github.com/hifive/hifive-template-editor/issues/68","id":63169731,"number":68,"title":"プレビューページにURLを指定して読み込んだ場合にエラーが出る場合がある","user":{"login":"fukudayasuo","id":1669891,"avatar_url":"https://avatars.githubusercontent.com/u/1669891?v=3","gravatar_id":"","url":"https://api.github.com/users/fukudayasuo","html_url":"https://github.com/fukudayasuo","followers_url":"https://api.github.com/users/fukudayasuo/followers","following_url":"https://api.github.com/users/fukudayasuo/following{/other_user}","gists_url":"https://api.github.com/users/fukudayasuo/gists{/gist_id}","starred_url":"https://api.github.com/users/fukudayasuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fukudayasuo/subscriptions","organizations_url":"https://api.github.com/users/fukudayasuo/orgs","repos_url":"https://api.github.com/users/fukudayasuo/repos","events_url":"https://api.github.com/users/fukudayasuo/events{/privacy}","received_events_url":"https://api.github.com/users/fukudayasuo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-20T05:50:34Z","updated_at":"2015-03-20T05:50:34Z","closed_at":null,"body":"テンプレートエディタを``http://server/hifive-template-editor/``でアクセスして表示場合は問題ないが、``http://server/hifive-template-editor/index.html``のようにhtmlファイルまで記述してアクセスすると、URLロード時にプレビュー画面に``ResultEditorController.js``が読み込めないエラーが表示される。\r\n\r\n``pathname + filename``でjsをロードしようとしていて、pathnameに``index.html``が含まれてしまっているのが原因であるので、修正する。"}}