Skip to content

Commit

Permalink
new explorer layout
Browse files Browse the repository at this point in the history
  • Loading branch information
soldate committed Jan 7, 2018
1 parent f273fae commit 963cc3e
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 390 deletions.
2 changes: 1 addition & 1 deletion api/api-config.php
@@ -1,3 +1,3 @@
<?php

return '';
return 'http://api.niobiocash.com:8137';
7 changes: 5 additions & 2 deletions api/index.php
Expand Up @@ -17,9 +17,10 @@
if ($_GET['method'] === '/json_rpc') {
$json = json_encode($_POST);
$vars = key(json_decode($json, true));
$data_string = $vars;

$data_string = file_get_contents('php://input');
$ch = curl_init($api . '/json_rpc');
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
Expand All @@ -29,6 +30,8 @@
);
$result = curl_exec($ch);

curl_close($ch);

echo $result;
}

2 changes: 1 addition & 1 deletion config.js
@@ -1,6 +1,6 @@
var api = 'http://138.197.222.188:8314';
var blockTargetInterval = 240;
var coinUnits = 1000000000000;
var coinUnits = 100000000;
var symbol = 'NBR';
var refreshDelay = 30000;

Expand Down
6 changes: 3 additions & 3 deletions css/themes/white/bootstrap.min.css

Large diffs are not rendered by default.

0 comments on commit 963cc3e

Please sign in to comment.