mirror of https://git.kore.io/kore.git
Small tweak to kore's output when running a module
This commit is contained in:
parent
76823c9d07
commit
0f5b39c977
|
@ -292,8 +292,13 @@ kore_server_bind(const char *ip, const char *port)
|
|||
nlisteners++;
|
||||
LIST_INSERT_HEAD(&listeners, l, list);
|
||||
|
||||
if (foreground)
|
||||
if (foreground) {
|
||||
#if !defined(KORE_NO_TLS)
|
||||
kore_log(LOG_NOTICE, "running on https://%s:%s", ip, port);
|
||||
#else
|
||||
kore_log(LOG_NOTICE, "running on http://%s:%s", ip, port);
|
||||
#endif
|
||||
}
|
||||
|
||||
return (KORE_RESULT_OK);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue