fix: correctly reference registry url from options#300
fix: correctly reference registry url from options#300priscilawebdev merged 8 commits intoverdaccio:masterfrom pmmmwh:patch-1
Conversation
|
Thank u so much for this ! |
|
Only test are failing |
|
I think tests need to be updated. registry URL should not contain the path, right?
cc @juanpicado , what do you think ? |
|
thanks for your contribution @pmmmwh :) Unfortunately tests are failing.. |
I'll check and update accordingly - I think it is mostly because of Edit: I fixed most of the stuff. Should I remove the tests related to ge |
Codecov Report
@@ Coverage Diff @@
## master #300 +/- ##
======================================
Coverage 88.2% 88.2%
======================================
Files 143 143
Lines 975 975
Branches 194 193 -1
======================================
Hits 860 860
Misses 97 97
Partials 18 18
|
|
Looks good to me |
|
Now it looks good! Thank you @pmmmwh 👏🙃 |
|
Sorry guys, but, the info dialog is broken. https://github.com/verdaccio/ui/issues/310 I'd suggest a new PR with :
We don't use server rendering, thus, the base only include that, the base domain, but does not include the path or possible queries. As consequence the |
This reverts commit ee74474.
|
Hi @juanpicado that is true..I have just checked and it's broken :( I reversed the changes . Thank you. |
|
It's fine, I think the problem is bigger that is seems so, it might need some changes in the backend. I introduced this bug with this verdaccio/verdaccio#1457 |
Oops - I'm sorry about that. I'll see if there's another way to achieve the correct behaviour. |


Type: Bug Fix
Description:
Currently, the repository URL is not being correctly referenced in the Registry Info dialog if the web UI is not loaded at root. This is discovered and illustrated here. This PR uses
window.__VERDACCIO_UI_OPTIONSto correctly get the base url so that loading will not affect the display of info.