{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/serve/issues/440","repository_url":"https://api.github.com/repos/zeit/serve","labels_url":"https://api.github.com/repos/zeit/serve/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/zeit/serve/issues/440/comments","events_url":"https://api.github.com/repos/zeit/serve/issues/440/events","html_url":"https://github.com/zeit/serve/issues/440","id":337073494,"node_id":"MDU6SXNzdWUzMzcwNzM0OTQ=","number":440,"title":"Can this serve on relative path?","user":{"login":"chris-fa","id":22173137,"node_id":"MDQ6VXNlcjIyMTczMTM3","avatar_url":"https://avatars0.githubusercontent.com/u/22173137?v=4","gravatar_id":"","url":"https://api.github.com/users/chris-fa","html_url":"https://github.com/chris-fa","followers_url":"https://api.github.com/users/chris-fa/followers","following_url":"https://api.github.com/users/chris-fa/following{/other_user}","gists_url":"https://api.github.com/users/chris-fa/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-fa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-fa/subscriptions","organizations_url":"https://api.github.com/users/chris-fa/orgs","repos_url":"https://api.github.com/users/chris-fa/repos","events_url":"https://api.github.com/users/chris-fa/events{/privacy}","received_events_url":"https://api.github.com/users/chris-fa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T17:12:04Z","updated_at":"2018-07-02T19:33:02Z","closed_at":"2018-07-02T19:33:02Z","author_association":"NONE","body":"I want to serve not as the root, but at relative path: `http://localhost:5000/webapp`. Is this possible?"},"comment":{"url":"https://api.github.com/repos/zeit/serve/issues/comments/401910175","html_url":"https://github.com/zeit/serve/issues/440#issuecomment-401910175","issue_url":"https://api.github.com/repos/zeit/serve/issues/440","id":401910175,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTkxMDE3NQ==","user":{"login":"leo","id":6170607,"node_id":"MDQ6VXNlcjYxNzA2MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/6170607?v=4","gravatar_id":"","url":"https://api.github.com/users/leo","html_url":"https://github.com/leo","followers_url":"https://api.github.com/users/leo/followers","following_url":"https://api.github.com/users/leo/following{/other_user}","gists_url":"https://api.github.com/users/leo/gists{/gist_id}","starred_url":"https://api.github.com/users/leo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo/subscriptions","organizations_url":"https://api.github.com/users/leo/orgs","repos_url":"https://api.github.com/users/leo/repos","events_url":"https://api.github.com/users/leo/events{/privacy}","received_events_url":"https://api.github.com/users/leo/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T19:33:02Z","updated_at":"2018-07-02T19:33:02Z","author_association":"MEMBER","body":"Use the [rewrites](https://github.com/zeit/serve-handler#rewrites-array) property:\r\n\r\n```\r\n{\r\n  \"rewrites\": [\r\n    { \"source\": \"/webapp/:rest\", \"destination\": \"/:rest\" },\r\n  ]\r\n}\r\n```\r\n\r\nAnd then serve the directory of your choice."}}
{"actor":{"display_login":"leo"}}