{"action":"created","issue":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3836","repository_url":"https://api.github.com/repos/Starcounter/Starcounter","labels_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3836/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3836/comments","events_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3836/events","html_url":"https://github.com/Starcounter/Starcounter/issues/3836","id":176376846,"number":3836,"title":"HTTP header with disk location for static files","user":{"login":"warpech","id":566463,"avatar_url":"https://avatars.githubusercontent.com/u/566463?v=3","gravatar_id":"","url":"https://api.github.com/users/warpech","html_url":"https://github.com/warpech","followers_url":"https://api.github.com/users/warpech/followers","following_url":"https://api.github.com/users/warpech/following{/other_user}","gists_url":"https://api.github.com/users/warpech/gists{/gist_id}","starred_url":"https://api.github.com/users/warpech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpech/subscriptions","organizations_url":"https://api.github.com/users/warpech/orgs","repos_url":"https://api.github.com/users/warpech/repos","events_url":"https://api.github.com/users/warpech/events{/privacy}","received_events_url":"https://api.github.com/users/warpech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alemoi","id":208134,"avatar_url":"https://avatars.githubusercontent.com/u/208134?v=3","gravatar_id":"","url":"https://api.github.com/users/alemoi","html_url":"https://github.com/alemoi","followers_url":"https://api.github.com/users/alemoi/followers","following_url":"https://api.github.com/users/alemoi/following{/other_user}","gists_url":"https://api.github.com/users/alemoi/gists{/gist_id}","starred_url":"https://api.github.com/users/alemoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alemoi/subscriptions","organizations_url":"https://api.github.com/users/alemoi/orgs","repos_url":"https://api.github.com/users/alemoi/repos","events_url":"https://api.github.com/users/alemoi/events{/privacy}","received_events_url":"https://api.github.com/users/alemoi/received_events","type":"User","site_admin":false},"assignees":[{"login":"alemoi","id":208134,"avatar_url":"https://avatars.githubusercontent.com/u/208134?v=3","gravatar_id":"","url":"https://api.github.com/users/alemoi","html_url":"https://github.com/alemoi","followers_url":"https://api.github.com/users/alemoi/followers","following_url":"https://api.github.com/users/alemoi/following{/other_user}","gists_url":"https://api.github.com/users/alemoi/gists{/gist_id}","starred_url":"https://api.github.com/users/alemoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alemoi/subscriptions","organizations_url":"https://api.github.com/users/alemoi/orgs","repos_url":"https://api.github.com/users/alemoi/repos","events_url":"https://api.github.com/users/alemoi/events{/privacy}","received_events_url":"https://api.github.com/users/alemoi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-09-12T13:35:17Z","updated_at":"2016-09-15T10:13:09Z","closed_at":null,"body":"## Problem \r\n\r\nStarcounter's static file server is serving static files from multiple directories on the local file system.\r\n\r\nWhen you find a problem in the static file, it is hard to guess what is the file path on disk.\r\n\r\nThis is especially a problem, when there are multiple paths with the same file. Which one wins?\r\n\r\n## Actual behavior\r\n\r\nStarcounter serves the file from the last app that was started. But if you don't know that order, then you have to guess the path.\r\n\r\n## Expected solution\r\n\r\nStarcounter should add a custom HTTP header (`X-File-Path`) that contains the original file path.\r\n\r\nIt should be possible to disable this option using a configuration option on the database.\r\n\r\ncc @alemoi, @tomalec "},"comment":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/comments/247289681","html_url":"https://github.com/Starcounter/Starcounter/issues/3836#issuecomment-247289681","issue_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3836","id":247289681,"user":{"login":"warpech","id":566463,"avatar_url":"https://avatars.githubusercontent.com/u/566463?v=3","gravatar_id":"","url":"https://api.github.com/users/warpech","html_url":"https://github.com/warpech","followers_url":"https://api.github.com/users/warpech/followers","following_url":"https://api.github.com/users/warpech/following{/other_user}","gists_url":"https://api.github.com/users/warpech/gists{/gist_id}","starred_url":"https://api.github.com/users/warpech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpech/subscriptions","organizations_url":"https://api.github.com/users/warpech/orgs","repos_url":"https://api.github.com/users/warpech/repos","events_url":"https://api.github.com/users/warpech/events{/privacy}","received_events_url":"https://api.github.com/users/warpech/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T10:13:09Z","updated_at":"2016-09-15T10:13:09Z","body":"Oops, this needs a fix before stable. "}}
{"actor":{"display_login":"warpech"}}