From 5a7c644763534812c06fe74affb1ccc6dbd8c895 Mon Sep 17 00:00:00 2001 From: Artem Date: Fri, 15 Dec 2017 16:42:44 +0700 Subject: [PATCH] Client-side config fix --- config.php | 1 + index.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.php b/config.php index 19dd3bc7..b4b2e1fb 100644 --- a/config.php +++ b/config.php @@ -3,6 +3,7 @@ header('Content-Type: application/javascript'); $esCfg = require_once dirname(__FILE__) . '/service/config.php'; +unset($esCfg['client']['tokens']); // Remove client-side unwanted options foreach(array('ethereum', 'mongo', 'apiKeys', 'redirects') as $key) unset($esCfg[$key]); diff --git a/index.php b/index.php index 73a546f4..a0209b89 100644 --- a/index.php +++ b/index.php @@ -129,7 +129,7 @@ } } } ?> - +