Commit 20f58bea authored by Tom Sakks's avatar Tom Sakks
Browse files

Removed unused permissions. Add SHIP_SHIPS handling.

parent 8c25ffa0
......@@ -24,8 +24,6 @@
[
"https://apex.prosperousuniverse.com/",
"webNavigation",
"tabs",
"webRequest",
"storage"
],
"icons": {
......
......@@ -124,6 +124,7 @@ function fnar_do_send_xhttp_request(url, data)
'LOCAL_MARKET_DATA_DATA',
'COMPANY_DATA',
'COMEX_BROKER_DATA',
'SHIP_SHIPS',
'SHIP_FLIGHT_FLIGHTS',
'WORLD_MATERIAL_CATEGORIES',
'WORLD_REACTOR_DATA',
......@@ -206,6 +207,9 @@ function fnar_do_send_xhttp_request(url, data)
case "WORLD_MATERIAL_CATEGORIES":
send_fnar_xhttp_request(fnar_url + "/material", eventdata);
break;
case "SHIP_SHIPS":
send_fnar_xhttp_request(fnar_url + "/ship/ships", eventdata);
break;
case "SHIP_FLIGHT_FLIGHTS":
send_fnar_xhttp_request(fnar_url + "/ship/flights", eventdata);
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment