Open ChrisPenner opened 5 months ago
I'm not sure if this is related enough (I can open another issue, otherwise).
A small thing I bumped into today: After I’ve forked/branched-off a project using my misspelled github username, the local ui wasn’t working for me
@unison/website> branch @Zelenya/test
@unison/website/@Zelenya/test> ui
...
Shows not found page
@unison/website> branch @zelenya/test
@unison/website/@zelenya/test> ui
...
Shows unison local as expected
The ui fails to load, looks like the frontend is not recognizing the branch name, and is thus constructing invalid API URLs.
E.g. It calls:
/api/projects/@unison%2Fbase/releases/2.8.0/namespaces/
/api/projects/@unison%2Fbase/releases/2.8.0/list
Whereas for a regular contribution branch it looks like this:
/api/projects/@unison%2Fbase/branches/@chrispenner%2Ftestcontribution/list
There's no valid API without the
branches
segment, so not sure what's going on there.