Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] allow custom useSSL in minio with env #172

Closed
moonrailgun opened this issue Nov 8, 2023 · 0 comments
Closed

[feat] allow custom useSSL in minio with env #172

moonrailgun opened this issue Nov 8, 2023 · 0 comments

Comments

@moonrailgun
Copy link
Contributor

moonrailgun commented Nov 8, 2023

This string of code turns off useSSL

// https://github.com/designtesbrot/moleculer-minio#settings
this.registerSetting('endPoint', endPoint);
this.registerSetting('port', Number(port));
this.registerSetting('useSSL', false);
this.registerSetting('accessKey', config.storage.user);
this.registerSetting('secretKey', config.storage.pass);
this.registerSetting('pathStyle', config.storage.pathStyle);
this.registerAction('save', this.save);
this.registerAction('saveFileWithUrl', this.saveFileWithUrl, {

Originally posted by @SanQianQVQ in #104 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant