Skip to content

Commit

Permalink
#64 Trial & Error
Browse files Browse the repository at this point in the history
  • Loading branch information
pantunes committed May 4, 2020
1 parent d0f24c2 commit 5986d72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions xtcryptosignals/client/templates/tools/coin-token.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,9 @@
<script src="/static/js/charts/coin-or-token.js" type="text/javascript"></script>

<script type="text/javascript">
function draw_charts() {
const fs = {{ frequencies_charts|safe }};
$(document).ready(function() {
draw_charts()
});
</script>

<script type="text/javascript">
function draw_charts() {
for (let i in fs) {
setTimeout(function () {
get_chart_coin_or_token_data(render_data_charts, '{{ coin_or_token }}', fs[i]);
Expand Down
4 changes: 2 additions & 2 deletions xtcryptosignals/config/server.dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ MONGODB_NAME='XTC-Dev'

BROKER_URL='redis://127.0.0.1:6379'

CREATE_MODEL_TICKER=True
CREATE_MODEL_TICKER=False

VAPID_CLAIMS='[email protected]'
VAPID_PRIVATE_KEY='private_key.pem'

ETHERSCAN_API_KEY='your_api_key'
ETHERSCAN_API_KEY='Z9UGU9FY45HSTA2321EWS24ABJ58DDMHKY'

0 comments on commit 5986d72

Please sign in to comment.