lfs-test-server icon indicating copy to clipboard operation
lfs-test-server copied to clipboard

Management URLs should be relative

Open elonen opened this issue 8 years ago • 0 comments

While building a reverse proxy solution ( see #66 ), I noticed the management page refers to the other pages (like /users), as well as the CSS file, with an absolute path: @import "/mgmt/css/primer.css". This doesn't work if mgmt has been mapped to a non-root path, such as: https://PROXY-SERVER/git-lfs/mgmt.

Could it be "../users" and "../css/primer.css" instead, or alternatively, use LFS_HOST to build the absolute URLs?

elonen avatar Sep 28 '17 11:09 elonen