{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2057","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2057/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2057/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2057/events","html_url":"https://github.com/gogits/gogs/issues/2057","id":119365477,"number":2057,"title":"Wrong URL path in markdown previewing","user":{"login":"JokerQyou","id":1465267,"avatar_url":"https://avatars.githubusercontent.com/u/1465267?v=3","gravatar_id":"","url":"https://api.github.com/users/JokerQyou","html_url":"https://github.com/JokerQyou","followers_url":"https://api.github.com/users/JokerQyou/followers","following_url":"https://api.github.com/users/JokerQyou/following{/other_user}","gists_url":"https://api.github.com/users/JokerQyou/gists{/gist_id}","starred_url":"https://api.github.com/users/JokerQyou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JokerQyou/subscriptions","organizations_url":"https://api.github.com/users/JokerQyou/orgs","repos_url":"https://api.github.com/users/JokerQyou/repos","events_url":"https://api.github.com/users/JokerQyou/events{/privacy}","received_events_url":"https://api.github.com/users/JokerQyou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/15","html_url":"https://github.com/gogits/gogs/milestones/0.8.0","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/15/labels","id":1423407,"number":15,"title":"0.8.0","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":22,"state":"open","created_at":"2015-11-21T22:31:47Z","updated_at":"2015-12-02T00:53:27Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-11-29T15:32:58Z","updated_at":"2015-12-02T01:47:55Z","closed_at":null,"body":" I installed gogs in a sub path, let's say `https://a.com/b/`. When I edit an issue comment, activating the preview panel will trigger a request to `https://a.com/api/v1/markdown`. which is wrong."},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/161153321","html_url":"https://github.com/gogits/gogs/issues/2057#issuecomment-161153321","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2057","id":161153321,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T01:47:55Z","updated_at":"2015-12-02T01:47:55Z","body":"@JokerQyou You're right, keep forgetting that... :sweat:"}}