diff --git a/Makefile b/Makefile
index 092ea03..f5c411c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-DIRNAME=$(notdir $(CURDIR))
-
-ELMS=$(wildcard src/*.elm)
-
-app.js: src/App.elm $(ELMS)
- -elm make $< --output=$@ 2> error.txt
- @cat error.txt
-
-upload: app.js index.html style.css
- rsync -avz . clpland:~/domains/somethingorotherwhatever.com/html/$(DIRNAME)
+DIRNAME=$(notdir $(CURDIR))
+
+ELMS=$(wildcard src/*.elm)
+
+app.js: src/App.elm $(ELMS)
+ -elm make --optimize $< --output=$@ 2> error.txt
+ @cat error.txt
+
+upload: app.js index.html style.css
+ rsync -avz . clpland:~/domains/somethingorotherwhatever.com/html/$(DIRNAME)
@echo "Uploaded to https://somethingorotherwhatever.com/$(DIRNAME)"
\ No newline at end of file
diff --git a/metro_map.svg b/metro_map.svg
index 3712e34..fdfbe43 100644
--- a/metro_map.svg
+++ b/metro_map.svg
@@ -1,7504 +1 @@
-
-
+
diff --git a/src/App.elm b/src/App.elm
index f842b95..8c74791 100644
--- a/src/App.elm
+++ b/src/App.elm
@@ -267,7 +267,7 @@ init_model flags =
|> JD.decodeValue decode_flags
|> (\r -> case r of
Ok flagdata -> { blank_model | stations = flagdata.stations, lines = flagdata.lines, current_station = Just flagdata.station }
- Err err -> { blank_model | error = Just (Debug.log "error" err) }
+ Err err -> { blank_model | error = Just err }
)
nocmd model = (model, Cmd.none)
@@ -290,7 +290,7 @@ update msg model = case msg of
ReceiveLocation data ->
case JD.decodeValue (decode_geolocation) data of
- Err err -> {model | error = Just (Debug.log "err" err) } |> nocmd
+ Err err -> {model | error = Just err } |> nocmd
Ok latlon ->
let
closest_stations = geo_closest_stations model latlon