mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fixes eslint errors
This commit is contained in:
parent
1028de8158
commit
08ab62108f
@ -932,6 +932,7 @@ const internalCertificate = {
|
||||
|
||||
// Prepend the path to the credentials file as an environment variable
|
||||
if (certificate.meta.dns_provider === 'route53') {
|
||||
const credentials_loc = '/etc/letsencrypt/credentials/credentials-' + certificate.id;
|
||||
main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd;
|
||||
}
|
||||
|
||||
|
@ -176,8 +176,9 @@ const setupCertbotPlugins = () => {
|
||||
certificates.map(function (certificate) {
|
||||
if (certificate.meta && certificate.meta.dns_challenge === true) {
|
||||
const dns_plugin = dns_plugins[certificate.meta.dns_provider];
|
||||
const package = `${dns_plugin.package_name}==${dns_plugin.package_version}`;
|
||||
if (plugins.indexOf(package) === -1) plugins.push(package);
|
||||
const package_to_install = `${dns_plugin.package_name}==${dns_plugin.package_version}`;
|
||||
|
||||
if (plugins.indexOf(package_to_install) === -1) plugins.push(package_to_install);
|
||||
|
||||
// Make sure credentials file exists
|
||||
const credentials_loc = '/etc/letsencrypt/credentials/credentials-' + certificate.id;
|
||||
|
Loading…
Reference in New Issue
Block a user