]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 14:20:03 01.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Fri, 1 May 2026 11:20:03 +0000 (14:20 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Fri, 1 May 2026 11:20:03 +0000 (14:20 +0300)
html/AM-GlobalFunc.rsc

index e359070a9e4e6f2b2c17490a4db75cd4e9d14470..9ff33ae1752ea794577a2b8d2f094b8cee0528bd 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/384/9e8867c7";
+:global CommitId "main/385/a501c147";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 14:10:03 01.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 14:20:03 01.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 138;
         :log error ($0 . " Required certificate is not available.");
         :return false;
       }
-      :put [ :toarr ("/tool/fetch check-certificate=yes-without-crl http-header-field=" . ({ [ $FetchUserAgentStr $0 ] }) . "\"https://mkcert.org/generate/\" http-data=" . [ :serialize to=json ({ $CommonName }) ] . " dst-path=$FileName as-value") ];
+      /tool/fetch check-certificate=yes-without-crl http-header-field=({ [ $FetchUserAgentStr $0 ] }) "https://mkcert.org/generate/" http-data=[ :serialize to=json ({ $CommonName }) ] dst-path=$FileName as-value;
       $WaitForFile $FileName;
       :if ([ /file/get $FileName size ] = 0) do={
         $RmFile $FileName;
       :return false;
     }
   }
-  #/certificate/import file-name=$FileName passphrase="" as-value;
+  /certificate/import file-name=$FileName passphrase="" as-value;
   :delay 1s;
   $RmFile $FileName;
   :if ([ :len [ /certificate/find where common-name=$CommonName ] ] = 0) do={