openvsx
openvsx copied to clipboard
MAX_ENTRY_SIZE Limited to 32MB, How to change it on my own openvsx server?
As you can see in the picture below, I want to upload this extension to my own openvsx server by using ovsx cli, but the size of the vsix file is limited to 32MB by serve.
Is there anyway to change the limit by env variable? I don't want to build my openvsx server image.
Thanks a lot for your help.
@zlweicoder You can refactor this constant to an application property, so that it becomes configurable in application.properties
. Then use @Value
to use the property in a @Component
. You can find examples in the codebase.
Thanks for your solution, please be free to close this issue.
@zlweicoder Could you open a pull request (PR) containing the changes you've made?