fix/optimize ServiceDeps, http_pb, and http_pc
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
var minisrv_service_file = true;
|
||||
const minisrv_service_file = true;
|
||||
|
||||
var site = "";
|
||||
let site = "";
|
||||
|
||||
if (minisrv_config.services['wtv-author'].public_domain) {
|
||||
site = minisrv_config.services['wtv-author'].public_domain;
|
||||
} else {
|
||||
if (minisrv_config.services['wtv-author'].publish_mode == "service") {
|
||||
var target_service = minisrv_config.services[minisrv_config.services['wtv-author'].publish_dest];
|
||||
const target_service = minisrv_config.services[minisrv_config.services['wtv-author'].publish_dest];
|
||||
if (target_service) {
|
||||
site = target_service.host + ":" + target_service.port;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user