From 972fa596ee29382eaa7a8927c746844db0a999f3 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Mon, 9 Dec 2024 15:44:39 +0100 Subject: [PATCH] fix: use web root from configJSON.wwwroot for SVR.JS 4.2.0 or newer --- a.tar.gz | Bin 0 -> 8491 bytes index.js | 31 +++++++++++++++++++++++-------- 2 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 a.tar.gz diff --git a/a.tar.gz b/a.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..66f123ce747b987ad78f5e258f1de3e11420326e GIT binary patch literal 8491 zcmV+`A=KU)xYqq_4-xo)pxDU*Xu7g*ITaDoBUW^3a(%?!Bb`u~@HZh?7ZDRp+7g#CLSCd_lG!S%OaU~jB-#d$jdnS*5CJejCn z@Kg4TG;E_B+bqb&Y7hRFeG$vlF8C>X(kx-YRPE#~vcG-HqO3g)vy3Gw6vK9!o4{^a zl7?{v5bpWOk0+fkC+_x(EO~H#ec>pbe?RM-)Mr7GGH;aDVV>bZIALcG(ZIXD9)?L2 zOqsLlxQ%H%tcTGkc74AthHt-kat1**7&{)j_X%;M;p_#`Uo&UOfV^oKF*(XP>+Ezn?i9^?N6XhOnG>EFnaqV_kH_lOZembQ#1SwGV;}BJ7Rc0YEyJ*8t^cC=6SmF5lEe7f7+J;qJ2DO=8Z`-dmc@KR~$oa3NZ zN=v)jg_hT{Wq-G~3%}pU-#@f_*PnNfU^ZxdTW$qX&d!gB@}}$+rsKNzuhTYm6x;&v zY3Bsy)Hprwed=@%|C?HKHV+PudepK(qiJKNGmtU^%^$Kf$4HX6-s>En9<_ToUrxu~ z?n&?Z`1GI9d2*u8*!kS<9(8v2+xzN_lI(8hsGZN7Yejz^PKH7$PJ_W$mU-F3jMa*D zt>Ko;z@Bm?;Yeo$3g|x0M^TX({bsoWvGE;&&@p>($4$r?9b3;Id&@Jw_+G=4{eH(RxIU6?B!^ ztvRn~^eh+-!{}z==w{7%Eoe+xa?3c0Lc*gYo=W_FeGtzcJdU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