diff --git a/server/webserver.py b/server/webserver.py index a99030c..4ae9ea3 100644 --- a/server/webserver.py +++ b/server/webserver.py @@ -5,7 +5,7 @@ import os import tornado from tornado.web import StaticFileHandler -from core.config import ALLOW_SPOTTING, WEB_SERVER_PORT, API_ONLY_MODE, LOG_WEB_REQUESTS +from core.config import ALLOW_SPOTTING, WEB_SERVER_PORT, API_ONLY_MODE, LOG_WEB_REQUESTS, BASE_URL from core.utils import empty_queue from server.handlers.api.addspot import APISpotHandler from server.handlers.api.alerts import APIAlertsHandler, APIAlertsStreamHandler @@ -112,6 +112,7 @@ class WebServer: debug=False) app.listen(self._port, xheaders=True) logging.info("Web server running on port " + str(WEB_SERVER_PORT)) + logging.info("You can access your copy of Spothole at " + BASE_URL) await self._shutdown_event.wait() def notify_new_spot(self, spot): diff --git a/templates/add_spot.html b/templates/add_spot.html index e5b659b..f44407c 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index 046fb14..cde601a 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -75,7 +75,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 3a4b26c..c3a1419 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -75,8 +75,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index d30a2ca..6c94a47 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -10,10 +10,10 @@ - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index 2c79327..1811421 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index 96eb28b..d4a9efe 100644 --- a/templates/map.html +++ b/templates/map.html @@ -95,8 +95,8 @@ - - + + diff --git a/templates/spots.html b/templates/spots.html index d0e5cc6..efd41b4 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -116,8 +116,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index f4f8942..193dc93 100644 --- a/templates/status.html +++ b/templates/status.html @@ -59,7 +59,7 @@ - +