From d9805386d6d15c669c546a250d93e012e97ecaac Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Wed, 4 Apr 2018 16:48:43 +0800 Subject: [PATCH] enable-json-api flag is false by default now --- src/CmdLineOptions.cpp | 2 +- src/templates/partials/tx_details.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CmdLineOptions.cpp b/src/CmdLineOptions.cpp index c8b922d..8bf4fd4 100644 --- a/src/CmdLineOptions.cpp +++ b/src/CmdLineOptions.cpp @@ -35,7 +35,7 @@ namespace xmreg "enable key images file checker") ("enable-output-key-checker", value()->default_value(false)->implicit_value(true), "enable outputs key file checker") - ("enable-json-api", value()->default_value(true)->implicit_value(true), + ("enable-json-api", value()->default_value(false)->implicit_value(true), "enable JSON REST api") ("enable-tx-cache", value()->default_value(false)->implicit_value(true), "enable caching of transaction details") diff --git a/src/templates/partials/tx_details.html b/src/templates/partials/tx_details.html index 056eee7..70b5583 100644 --- a/src/templates/partials/tx_details.html +++ b/src/templates/partials/tx_details.html @@ -95,8 +95,8 @@

-
-
+
+