Skip to content

Commit

Permalink
change dbg level of a message HTTP not enabled
Browse files Browse the repository at this point in the history
from log0 to warn

Signed-off-by: shirady <57721533+shirady@users.noreply.github.com>
  • Loading branch information
shirady committed Jan 3, 2024
1 parent ba50da7 commit 6391bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoint/endpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ async function main(options = {}) {
https_server_sts.setSecureContext(updated_ssl_options);
});
if (options.nsfs_config_root && !config.ALLOW_HTTP) {
dbg.log0('HTTP is not allowed for NC NSFS.');
dbg.warn('HTTP is not allowed for NC NSFS.');
} else {
const http_server = http.createServer(endpoint_request_handler);
if (http_port > 0) {
Expand Down

0 comments on commit 6391bca

Please sign in to comment.