mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
feat: adds option to set scope in webui instructions header
If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header e.g. npm set @coolsp:registry http://localhost:4873. Added as webui.scope option in .yaml. > Note: in .yaml, escape @ with \\@. See also feature request #593. Corrected typo myscopy --> myscope
This commit is contained in:
parent
44957eaa96
commit
f9e9383688
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ web:
|
||||||
#logo: logo.png
|
#logo: logo.png
|
||||||
|
|
||||||
# If you're using this registry for a specific module scope,
|
# If you're using this registry for a specific module scope,
|
||||||
# specify that scope to set it in the webui instructions header (note: escape @ with \\@)
|
# specify that scope to set it in the webui instructions header (note: escape @ with \@)
|
||||||
#scope: \@myscope
|
#scope: \@myscope
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
|
|
|
@ -24,4 +24,4 @@ Property | Type | Required | Example | Support | Description
|
||||||
enable | boolean | No | true/false | all | allow to display the web interface
|
enable | boolean | No | true/false | all | allow to display the web interface
|
||||||
title | string | No | Verdaccio | all | HTML head title description
|
title | string | No | Verdaccio | all | HTML head title description
|
||||||
logo | string | No | http://my.logo.domain/logo.png | all | a URI where logo is located
|
logo | string | No | http://my.logo.domain/logo.png | all | a URI where logo is located
|
||||||
scope | string | No | \\@myscopy | all | If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header (note: escape @ with \\@)
|
scope | string | No | \\@myscope | all | If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header (note: escape @ with \\@)
|
||||||
|
|
Loading…
Reference in a new issue