ambrosus / ambrosus-node-extended

Expanded reporting and organizational functionality for the Hermes node.
MIT License
5 stars 5 forks source link

assetUrl: /account2/info/ passing empty value must give JSON Error response but now we get html data #144

Open DarshanKumar89 opened 4 years ago

DarshanKumar89 commented 4 years ago
2020-09-23 15:46:44.779 INFO 10413 --- [nio-8070-exec-1] com.unova.utils.AssetUtils : assetUrl: http://IPADDRESS/account2/info/
2020-09-23 15:46:44.964 INFO 10413 --- [nio-8070-exec-1] com.unova.utils.ApiRequestUtils : callToRestService Error :<!DOCTYPE html>
<html lang="en">

<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta id="viewport" name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1" />
<meta charset="UTF-8" />
<base href="/dashboard/">
<!-- Tittle -->
<title>Ambrosus - Trusted Quality of Food &amp; Medicine</title>
<!--Google fonts-->
<link href="https://fonts.googleapis.com/css?family=Rubik:300,400,500,700" rel="stylesheet">

<!--SEO-->
<meta class="mtitle" name="pagename" content="Ambrosus" />
<meta class="mdesc" name="description" content="Combining sensors, blockchain protocol &amp; smart contracts, we&#039;re building a universally verifiable system to assure the quality, safety &amp; origins of products." />
<meta class="mkey" name="keywords" content="blog" />
<!--Open Graph-->
<meta class="mtitle" property="og:title" content="Ambrosus" />
<meta class="mdesc" property="og:description" content="Combining sensors, blockchain protocol &amp; smart contracts, we&#039;re building a universally verifiable system to assure the quality, safety &amp; origins of products." />

<!--Not to change-->
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320">
<meta name="mobile-web-app-capable" content="yes" />
<meta name="robots" content="noimageindex" />
<meta name="robots" content="follow" />
<meta name="robots" content="noodp" />
<!-- Apple -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="#ffffff" />
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicons/favicon-16x16.png">
<link rel="mask-icon" href="./assets/favicons/safari-pinned-tab.svg" color="#002c87">
<link rel="manifest" href="manifest.json">
<link rel="stylesheet" href="styles.9d9d23f42370e5642999.css"></head>

<body>
<app-root></app-root>
<script src="./assets/js/web3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.min.js"></script>
<script type="text/javascript" src="runtime.7228c5525216ed1096a3.js"></script><script type="text/javascript" src="polyfills.3adfe297c28021b42227.js"></script><script type="text/javascript" src="scripts.5940140a7b7cc0f2c1d5.js"></script><script type="text/javascript" src="main.cee2dbf5199b7ee43555.js"></script></body>

</html>
seagiv commented 4 years ago

it's a bug, will be fixed next release.

seagiv commented 4 years ago

will be fixed in 1.1.10