{"action":"created","issue":{"url":"https://api.github.com/repos/lukehaas/Scrollify/issues/148","repository_url":"https://api.github.com/repos/lukehaas/Scrollify","labels_url":"https://api.github.com/repos/lukehaas/Scrollify/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/lukehaas/Scrollify/issues/148/comments","events_url":"https://api.github.com/repos/lukehaas/Scrollify/issues/148/events","html_url":"https://github.com/lukehaas/Scrollify/issues/148","id":171659072,"number":148,"title":"Rewriting URL when <base href=\"\" /> tag is set","user":{"login":"kctech","id":5582926,"avatar_url":"https://avatars.githubusercontent.com/u/5582926?v=3","gravatar_id":"","url":"https://api.github.com/users/kctech","html_url":"https://github.com/kctech","followers_url":"https://api.github.com/users/kctech/followers","following_url":"https://api.github.com/users/kctech/following{/other_user}","gists_url":"https://api.github.com/users/kctech/gists{/gist_id}","starred_url":"https://api.github.com/users/kctech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kctech/subscriptions","organizations_url":"https://api.github.com/users/kctech/orgs","repos_url":"https://api.github.com/users/kctech/repos","events_url":"https://api.github.com/users/kctech/events{/privacy}","received_events_url":"https://api.github.com/users/kctech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-17T13:36:44Z","updated_at":"2016-09-28T08:15:37Z","closed_at":null,"body":"Great plugin - love it!\r\n\r\nI use MODX CMS, that requires the <base href=\"\" />to be set. I've noticed that when this is set the plugin will remove anything preceding the base URL when adding the #. During static development, when the base tag is not used, this issue does not occur.\r\n\r\nE.g.\r\nA dev site with tag of `<base href=\"http://localhost/dev_site/dist/\" />`\r\n\r\nWhen scrolling, a page, like:\r\nhttp://localhost/dev_site/dist/content-page.html\r\n\r\nWill be rewritten to:\r\nhttp://localhost/dev_site/dist/#scrollify-section\r\n\r\nInstead of:\r\nhttp://localhost/dev_site/dist/content-page.html#scrollify-section\r\n\r\nHope that makes sense, if not I'll upload a demo somewhere"},"comment":{"url":"https://api.github.com/repos/lukehaas/Scrollify/issues/comments/250101557","html_url":"https://github.com/lukehaas/Scrollify/issues/148#issuecomment-250101557","issue_url":"https://api.github.com/repos/lukehaas/Scrollify/issues/148","id":250101557,"user":{"login":"shuffgy","id":17125448,"avatar_url":"https://avatars.githubusercontent.com/u/17125448?v=3","gravatar_id":"","url":"https://api.github.com/users/shuffgy","html_url":"https://github.com/shuffgy","followers_url":"https://api.github.com/users/shuffgy/followers","following_url":"https://api.github.com/users/shuffgy/following{/other_user}","gists_url":"https://api.github.com/users/shuffgy/gists{/gist_id}","starred_url":"https://api.github.com/users/shuffgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuffgy/subscriptions","organizations_url":"https://api.github.com/users/shuffgy/orgs","repos_url":"https://api.github.com/users/shuffgy/repos","events_url":"https://api.github.com/users/shuffgy/events{/privacy}","received_events_url":"https://api.github.com/users/shuffgy/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T08:15:37Z","updated_at":"2016-09-28T08:15:37Z","body":"Same here. URL like\r\n\"/index.php?id=16#sectionname\" will be \"/1#sectionname\".\r\n\r\nI use TYPO3 and had to set `config.baseURL = 0` to make scrollify work."}}
{"actor":{"display_login":"shuffgy"}}