From 0e007371d4dbf858e1332aa6459754cc43c2996e Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Fri, 18 Nov 2016 00:39:43 +0100 Subject: [PATCH] fixed URL for Order-Check & API-Key --- static/js/neat.js | 4 ++-- templates/settings.hamlet | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/neat.js b/static/js/neat.js index f8771c5..85970bb 100644 --- a/static/js/neat.js +++ b/static/js/neat.js @@ -17,7 +17,7 @@ var n = this, function checkOrders() { $('table.sellOrders tr.order').each(function(ix,el) { var d = $(el).attr('data').split(';'); - $.getJSON("https://public-crest.eveonline.com/market/"+d[1]+"/orders/sell/?type=https://public-crest.eveonline.com/types/"+d[0]+"/",function(ret, status, xhr) { + $.getJSON("https://esi.tech.ccp.is/latest/markets/"+d[1]+"/orders/?type_id="+d[0]+"&order_type=sell&datasource=tranquility",function(ret, status, xhr) { var outbid = false; var outbidprice = parseFloat(d[2])/100; $(ret.items).each(function(index,order) { @@ -42,7 +42,7 @@ function checkOrders() { $('table.buyOrders tr.order').each(function(ix,el) { var d = $(el).attr('data').split(';'); - $.getJSON("https://public-crest.eveonline.com/market/"+d[1]+"/orders/buy/?type=https://public-crest.eveonline.com/types/"+d[0]+"/",function(ret, status, xhr) { + $.getJSON("https://esi.tech.ccp.is/latest/markets/"+d[1]+"/orders/?type_id="+d[0]+"&order_type=buy&datasource=tranquility",function(ret, status, xhr) { var outbid = false; var outbidprice = parseFloat(d[2])/100; $(ret.items).each(function(index,order) { diff --git a/templates/settings.hamlet b/templates/settings.hamlet index 7488331..aaea7cb 100644 --- a/templates/settings.hamlet +++ b/templates/settings.hamlet @@ -16,4 +16,4 @@
API Key

This auth-key is not suitable.
- Create API-Key + Create API-Key