{"action":"created","issue":{"url":"https://api.github.com/repos/johnpapa/lite-server/issues/11","repository_url":"https://api.github.com/repos/johnpapa/lite-server","labels_url":"https://api.github.com/repos/johnpapa/lite-server/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/johnpapa/lite-server/issues/11/comments","events_url":"https://api.github.com/repos/johnpapa/lite-server/issues/11/events","html_url":"https://github.com/johnpapa/lite-server/issues/11","id":125780157,"number":11,"title":"Redirect-loop to root","user":{"login":"matthiasbruch","id":1230303,"avatar_url":"https://avatars.githubusercontent.com/u/1230303?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasbruch","html_url":"https://github.com/matthiasbruch","followers_url":"https://api.github.com/users/matthiasbruch/followers","following_url":"https://api.github.com/users/matthiasbruch/following{/other_user}","gists_url":"https://api.github.com/users/matthiasbruch/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasbruch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasbruch/subscriptions","organizations_url":"https://api.github.com/users/matthiasbruch/orgs","repos_url":"https://api.github.com/users/matthiasbruch/repos","events_url":"https://api.github.com/users/matthiasbruch/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasbruch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-09T20:36:48Z","updated_at":"2016-04-04T16:10:26Z","closed_at":"2016-04-04T16:10:26Z","body":"From the angular tutorial, I was told to use \"npm start\" which runs:\r\n\r\nconcurrent \"npm run tsc:w\" \"npm run lite\" \r\n\r\nif I move the content of my app into a subfolder and redirect there, I'm getting into a loop. Somehow the file index-file from the root folder is delivered at the app-subfolder as well. I thought I misconfigured something, but another http-server (serve) doesn't do that and brings me straight into the app.\r\n\r\nAm I missing something? I saw that you can pass the subfolder to serve, but I need some files at the root, so this is not an option.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/johnpapa/lite-server/issues/comments/205370594","html_url":"https://github.com/johnpapa/lite-server/issues/11#issuecomment-205370594","issue_url":"https://api.github.com/repos/johnpapa/lite-server/issues/11","id":205370594,"user":{"login":"johnpapa","id":1202528,"avatar_url":"https://avatars.githubusercontent.com/u/1202528?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpapa","html_url":"https://github.com/johnpapa","followers_url":"https://api.github.com/users/johnpapa/followers","following_url":"https://api.github.com/users/johnpapa/following{/other_user}","gists_url":"https://api.github.com/users/johnpapa/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpapa/subscriptions","organizations_url":"https://api.github.com/users/johnpapa/orgs","repos_url":"https://api.github.com/users/johnpapa/repos","events_url":"https://api.github.com/users/johnpapa/events{/privacy}","received_events_url":"https://api.github.com/users/johnpapa/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T16:10:26Z","updated_at":"2016-04-04T16:10:26Z","body":"with v2 you are set."}}