{"action":"created","issue":{"url":"https://api.github.com/repos/ome/omero-iviewer/issues/8","repository_url":"https://api.github.com/repos/ome/omero-iviewer","labels_url":"https://api.github.com/repos/ome/omero-iviewer/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/ome/omero-iviewer/issues/8/comments","events_url":"https://api.github.com/repos/ome/omero-iviewer/issues/8/events","html_url":"https://github.com/ome/omero-iviewer/pull/8","id":194555084,"number":8,"title":"prefixing ability for resource requests","user":{"login":"waxenegger","id":1559229,"avatar_url":"https://avatars.githubusercontent.com/u/1559229?v=3","gravatar_id":"","url":"https://api.github.com/users/waxenegger","html_url":"https://github.com/waxenegger","followers_url":"https://api.github.com/users/waxenegger/followers","following_url":"https://api.github.com/users/waxenegger/following{/other_user}","gists_url":"https://api.github.com/users/waxenegger/gists{/gist_id}","starred_url":"https://api.github.com/users/waxenegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waxenegger/subscriptions","organizations_url":"https://api.github.com/users/waxenegger/orgs","repos_url":"https://api.github.com/users/waxenegger/repos","events_url":"https://api.github.com/users/waxenegger/events{/privacy}","received_events_url":"https://api.github.com/users/waxenegger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-09T09:56:31Z","updated_at":"2016-12-16T14:24:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ome/omero-iviewer/pulls/8","html_url":"https://github.com/ome/omero-iviewer/pull/8","diff_url":"https://github.com/ome/omero-iviewer/pull/8.diff","patch_url":"https://github.com/ome/omero-iviewer/pull/8.patch"},"body":"see: https://trello.com/c/faOotWHI/246-support-prefix\r\n\r\nthe prefix is now taken into account, so that if I set 'omero.web.prefix' to '/me/fancy/prefix' urls use it.\r\n\r\n![prefix](https://cloud.githubusercontent.com/assets/1559229/21044928/ed381c32-be49-11e6-801a-b413e4978724.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1559229/21044775/466c1d5e-be49-11e6-816f-766a29f37a2d.png)\r\n\r\nTest:\r\nCheck on cowfish using open-with iviewer or by using the url: https://cowfish.openmicroscopy.org/webtrial/omero_iviewer/fill_in_existing_image_id\r\n\r\nOne way to test is to open your browser's developer tools (e.g. chrome: F12) and check the network tab to see if there are any requests for static or dynamic resources failing, specifically with 404 errors."},"comment":{"url":"https://api.github.com/repos/ome/omero-iviewer/issues/comments/267604466","html_url":"https://github.com/ome/omero-iviewer/pull/8#issuecomment-267604466","issue_url":"https://api.github.com/repos/ome/omero-iviewer/issues/8","id":267604466,"user":{"login":"waxenegger","id":1559229,"avatar_url":"https://avatars.githubusercontent.com/u/1559229?v=3","gravatar_id":"","url":"https://api.github.com/users/waxenegger","html_url":"https://github.com/waxenegger","followers_url":"https://api.github.com/users/waxenegger/followers","following_url":"https://api.github.com/users/waxenegger/following{/other_user}","gists_url":"https://api.github.com/users/waxenegger/gists{/gist_id}","starred_url":"https://api.github.com/users/waxenegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waxenegger/subscriptions","organizations_url":"https://api.github.com/users/waxenegger/orgs","repos_url":"https://api.github.com/users/waxenegger/repos","events_url":"https://api.github.com/users/waxenegger/events{/privacy}","received_events_url":"https://api.github.com/users/waxenegger/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T14:24:33Z","updated_at":"2016-12-16T14:24:33Z","body":"The generated params are correct. Unfortunately I can only work with what I can extract. I can do a reverse lookup for the webgateway root but not webclient. The information that I use for the prefix is correct as well (SCRIPT_NAME) which is what I use for webclient.\r\n\r\nThis is just the entry point where I don't bother with the trailing slash. I have the appropriate read and getPrefixedURI methods which make sure that I get the uris in a way the application expects it to concatenate further."}}
{"actor":{"display_login":"waxenegger"}}