mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
e54ec4b5d0
* feat: remove level for token by lowdb * chore: fix format * chore: fix config * chore: add changeset
27 lines
498 B
YAML
27 lines
498 B
YAML
storage: ./storage
|
|
plugins: ./plugins
|
|
|
|
security:
|
|
api:
|
|
jwt:
|
|
sign:
|
|
expiresIn: 5m
|
|
# to avoid invalid verification token, more info on JWT page
|
|
notBefore: 0
|
|
|
|
auth:
|
|
htpasswd:
|
|
file: ./htpasswd
|
|
|
|
packages:
|
|
'@token/*':
|
|
access: $authenticated
|
|
publish: $authenticated
|
|
'only-you-can-publish':
|
|
access: $authenticated
|
|
publish: $authenticated
|
|
logs:
|
|
- { type: stdout, format: pretty, level: error }
|
|
flags:
|
|
## enable token for testing
|
|
token: true
|