{"action":"closed","issue":{"url":"https://api.github.com/repos/4minitz/4minitz/issues/152","repository_url":"https://api.github.com/repos/4minitz/4minitz","labels_url":"https://api.github.com/repos/4minitz/4minitz/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/4minitz/4minitz/issues/152/comments","events_url":"https://api.github.com/repos/4minitz/4minitz/issues/152/events","html_url":"https://github.com/4minitz/4minitz/issues/152","id":196471677,"number":152,"title":"4Minitz is not runnable in a URL with subfolder like https://www.company.com/4minitz (ROOT_URL)","user":{"login":"derwok","id":4393698,"avatar_url":"https://avatars.githubusercontent.com/u/4393698?v=3","gravatar_id":"","url":"https://api.github.com/users/derwok","html_url":"https://github.com/derwok","followers_url":"https://api.github.com/users/derwok/followers","following_url":"https://api.github.com/users/derwok/following{/other_user}","gists_url":"https://api.github.com/users/derwok/gists{/gist_id}","starred_url":"https://api.github.com/users/derwok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derwok/subscriptions","organizations_url":"https://api.github.com/users/derwok/orgs","repos_url":"https://api.github.com/users/derwok/repos","events_url":"https://api.github.com/users/derwok/events{/privacy}","received_events_url":"https://api.github.com/users/derwok/received_events","type":"User","site_admin":false},"labels":[{"id":188611248,"url":"https://api.github.com/repos/4minitz/4minitz/labels/bug","name":"bug","color":"fc2929","default":true},{"id":387950581,"url":"https://api.github.com/repos/4minitz/4minitz/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"migerh","id":368715,"avatar_url":"https://avatars.githubusercontent.com/u/368715?v=3","gravatar_id":"","url":"https://api.github.com/users/migerh","html_url":"https://github.com/migerh","followers_url":"https://api.github.com/users/migerh/followers","following_url":"https://api.github.com/users/migerh/following{/other_user}","gists_url":"https://api.github.com/users/migerh/gists{/gist_id}","starred_url":"https://api.github.com/users/migerh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migerh/subscriptions","organizations_url":"https://api.github.com/users/migerh/orgs","repos_url":"https://api.github.com/users/migerh/repos","events_url":"https://api.github.com/users/migerh/events{/privacy}","received_events_url":"https://api.github.com/users/migerh/received_events","type":"User","site_admin":false},"assignees":[{"login":"migerh","id":368715,"avatar_url":"https://avatars.githubusercontent.com/u/368715?v=3","gravatar_id":"","url":"https://api.github.com/users/migerh","html_url":"https://github.com/migerh","followers_url":"https://api.github.com/users/migerh/followers","following_url":"https://api.github.com/users/migerh/following{/other_user}","gists_url":"https://api.github.com/users/migerh/gists{/gist_id}","starred_url":"https://api.github.com/users/migerh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migerh/subscriptions","organizations_url":"https://api.github.com/users/migerh/orgs","repos_url":"https://api.github.com/users/migerh/repos","events_url":"https://api.github.com/users/migerh/events{/privacy}","received_events_url":"https://api.github.com/users/migerh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-12-19T17:17:23Z","updated_at":"2016-12-27T20:58:02Z","closed_at":"2016-12-27T20:58:02Z","body":"### Problem\r\nIf 4Minitz shall be reachable via a subfolder URL like https://www.company.com/4minitz this must be specified with the ROOT_URL environment variable. Nevertheless 4Minitz is not prepared to be reachable via non-\"root\" URL. Quite some errors show up...\r\n\r\n### Steps to reproduce:\r\nLaunch 4Minitz locally in develop mode like so:\r\n\r\n    export ROOT_URL=http://localhost:3100/4minitz\r\n    meteor run --port 3100 --settings ./settings.json\r\n\r\nOpen WebApp in Browser via http://localhost:3100/4minitz\r\n\r\n### Errors:\r\n1. The IronRouter seems not to respect the ROOT_URL. Iron:Router shows error: \"Oops, looks like there's no route on the client or the server for url: http://localhost:3100/4minitz\"\r\n1. These URLs show in the browser console as 404 errors:\r\n4minitz:34 GET http://localhost:3100/node_modules/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css \r\n4minitz-at-mp.png:1 GET http://localhost:3100/4minitz-at-mp.png 404 (Not Found)\r\napple-touch-icon-120x120.png:1 GET http://localhost:3100/apple-touch-icon-120x120.png 404 (Not Found)\r\n\r\n### First analysis\r\nIt seems Iron Router is not prepared to handle situations where ROOT_URL has a subfolder attached. At least there is an open Pull Request for this issue:\r\nhttps://github.com/iron-meteor/iron-url/pull/17"}}
{"actor":{"display_login":"migerh"}}