From 2cc04321c53e0bfed7ea4eccb2a00402322aa8ab Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 16 Apr 2021 01:23:34 +0200 Subject: Added stub go server --- .gitignore | 1 + derelict.js | 2 +- index.html | 30 ------------------------------ 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 index.html diff --git a/.gitignore b/.gitignore index 8691330..265df06 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ __pycache__ *.json +derelict diff --git a/derelict.js b/derelict.js index 683e509..c76e0fc 100644 --- a/derelict.js +++ b/derelict.js @@ -223,7 +223,7 @@ function init() { let icon = loadWreckIcon() - fetch(url.searchParams.get("related") + ".json") + fetch(url.searchParams.get("id") + ".json") .then(response => response.json()) .then(killmails => { const url = km => `${ESI}/killmails/${km.id}/${km.hash}/?datasource=tranquility` diff --git a/index.html b/index.html deleted file mode 100644 index 345aa9a..0000000 --- a/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - -Derelict - -
-
-
-

Derelict

-

LMB and drag in space to rotate camera.
RMB and drag in space to move camera. -

LMB wreck to open killmail.
RMB wreck to focus camera. -

Address must contain related parameter to show some wrecks. -
Currently there is no service that would offer an API to acquire battle reports, so only battles that I - uploaded manually are available as of now: -

-

I plan to address this issue. -

Grid

- -

Timeline

- -
-
- -- cgit v1.1