code view doesn't render other branches
%5ZmhjlVOzL0UigNRJuVqI1ZZ71/JM0pMX5+LiJwX968=.sha256
code view doesn't render other branches
When viewing a file in git-ssb-web, no matter what branch I choose from the drop-down, it always shows the first branch (web
in this repo).
@noffle I'm not seeing this locally. Maybe it was fixed a while ago, I'm not sure. Does it still happen for you?
I assume this issue was meant for the git-ssb-web project.
@cel Oops, it was.
I haven't run git-ssb-web locally or a while, but I can repro right now on http://git.scuttlebot.io/%25q5d5Du%2B9WkaSdjc8aJPZm%2BjMrqgo0tmfR%2BRcX5ZZ6H4%3D.sha256
@noffle fixed now. It was because of the nginx reverse proxy caching, which was not including the query string when testing if a request is for a cached resource. git-ssb-web uses a query string parameter rev
for the branch navigation by menu feature. So I added $arg_rev
to proxy_cache_key
in the nginx conf location
block for git-ssb-web
. I also added a bunch of other $arg_…
values for query string parameters that git-ssb-web
uses to the nginx conf, which should improve functionality of other pages on git.scuttlebot.io (including searches).
Built with git-ssb-web