1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Http_server: Ignore all special pages if empty-string is passed to --http_server.special_pages_safelist

This commit is contained in:
gnosygnu
2017-08-04 22:02:21 -04:00
parent 7c2e3f7295
commit 9f6ef68bfa
8 changed files with 441 additions and 427 deletions

View File

@@ -848,6 +848,8 @@ public class Xow_domain_regy {
, "olo.wikipedia.org"
, "dty.wikipedia.org"
, "pa.wikisource.org"
, "atj.wikipedia.org"
, "kbp.wikipedia.org"
};
//, "als.wikisource.org"
//, "als.wikinews.org"

View File

@@ -26,4 +26,7 @@ public class Xopg_alertify_ {
public static void Exec_log(Xog_json_wkr wkr, String msg) {
wkr.Send_json("xo.alertify.log_by_str", Gfobj_nde.New().Add_str("msg", msg));
}
public static void Exec_log(Xog_json_wkr wkr, String msg, int wait) {
wkr.Send_json("xo.alertify.log_by_str", Gfobj_nde.New().Add_str("msg", msg).Add_str("wait", Int_.To_str(wait * 1000)));
}
}