{"action":"created","issue":{"url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/210","labels_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/210/comments","events_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/210/events","html_url":"https://github.com/iam4x/isomorphic-flux-boilerplate/issues/210","id":127684668,"number":210,"title":"Can't load fonts","user":{"login":"noradaiko","id":1332805,"avatar_url":"https://avatars.githubusercontent.com/u/1332805?v=3","gravatar_id":"","url":"https://api.github.com/users/noradaiko","html_url":"https://github.com/noradaiko","followers_url":"https://api.github.com/users/noradaiko/followers","following_url":"https://api.github.com/users/noradaiko/following{/other_user}","gists_url":"https://api.github.com/users/noradaiko/gists{/gist_id}","starred_url":"https://api.github.com/users/noradaiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noradaiko/subscriptions","organizations_url":"https://api.github.com/users/noradaiko/orgs","repos_url":"https://api.github.com/users/noradaiko/repos","events_url":"https://api.github.com/users/noradaiko/events{/privacy}","received_events_url":"https://api.github.com/users/noradaiko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-20T13:40:10Z","updated_at":"2016-01-20T14:05:20Z","closed_at":null,"body":"I'm using it with semantic-ui but it failed to load fonts on dev server.\r\nThe browser always attempts to load `http://localhost:3002/` as the font url and outputs following warnings:\r\n\r\n```\r\nFailed to decode downloaded font: http://localhost:3002/\r\nOTS parsing error: invalid version tag\r\n```\r\n\r\nI found it can be solved by adding `http:` to `PUBLIC_PATH` in `dev.config.js` as follow:\r\n\r\n```\r\nconst PUBLIC_PATH = `http://${HOST}:${PORT}/assets/`;\r\n```"},"comment":{"url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/comments/173213310","html_url":"https://github.com/iam4x/isomorphic-flux-boilerplate/issues/210#issuecomment-173213310","issue_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/210","id":173213310,"user":{"login":"iam4x","id":893837,"avatar_url":"https://avatars.githubusercontent.com/u/893837?v=3","gravatar_id":"","url":"https://api.github.com/users/iam4x","html_url":"https://github.com/iam4x","followers_url":"https://api.github.com/users/iam4x/followers","following_url":"https://api.github.com/users/iam4x/following{/other_user}","gists_url":"https://api.github.com/users/iam4x/gists{/gist_id}","starred_url":"https://api.github.com/users/iam4x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iam4x/subscriptions","organizations_url":"https://api.github.com/users/iam4x/orgs","repos_url":"https://api.github.com/users/iam4x/repos","events_url":"https://api.github.com/users/iam4x/events{/privacy}","received_events_url":"https://api.github.com/users/iam4x/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T14:05:20Z","updated_at":"2016-01-20T14:05:20Z","body":"@noradaiko Yes, there's a lot of problems with source of assets in dev-mode. Your fix works, but if you go on another device with your local ip it wont work.\r\n\r\nThe best solution I think is to use `url-loader` for dev-mode instead of `file-loader` in webpack."}}