diff --git a/api_app.py b/api_app.py
index 0e20777..20ac43c 100644
--- a/api_app.py
+++ b/api_app.py
@@ -102,6 +102,8 @@ def select_stations(conn, n):
@api_app.route('/')
def index():
+ path = config['Settings']['base_url']
+
# Get list of recent packets using API
# TODO use relative path
#frames = json.loads(requests.get(url_for("packets", _external=True)).text)['data']
@@ -150,7 +152,8 @@ def index():
station_lon = config['Settings']['station_lon'],
frames = frames,
stations = stations,
- geojs = geojs)
+ geojs = geojs,
+ path = path)
@api_app.route('/map')
def map():
@@ -209,7 +212,7 @@ class Packets(Resource):
try:
n = int(request.args.get('n'))
except:
- n = 10
+ n = 20
conn = get_db_connection()
# Limit to number of records requested
@@ -224,7 +227,7 @@ class Stations(Resource):
try:
n = int(request.args.get('n'))
except:
- n = 10
+ n = 20
conn = get_db_connection()
# Limit to number of records requested
diff --git a/config_default.ini b/config_default.ini
index b729dce..1c645f3 100644
--- a/config_default.ini
+++ b/config_default.ini
@@ -11,7 +11,7 @@ base_url = https://digi.w1cdn.net/aprs_api
keep_time = "2 days"
# KISS settings
-kiss_host = 192.168.0.30
+kiss_host = 192.168.0.100
kiss_port = 8001
# Development settings (not operational yet)
diff --git a/templates/index.html b/templates/index.html
index 9b3aad8..2e1b883 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -79,6 +79,7 @@
Recent RF Packets
+Query 10 | 50 | 100
from |
@@ -104,6 +105,7 @@
Recent Stations
+Query 10 | 50 | 100