commit a185f0081a53ae428f1f9c6339ad8f63bc588ee4
parent 71620aa0d89a059fcb4d89aebe6cbd9988a2cf85
Author: Tomas Hlavaty <tom@logand.com>
Date: Tue, 19 Jan 2021 20:34:04 +0100
osm does not like // in the url anymore
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/osmtile-download b/osmtile-download
@@ -2,6 +2,6 @@
set -euo pipefail
zxy=$1
dir=$2
-url=https://tile.openstreetmap.org/
+url=https://tile.openstreetmap.org
mkdir -p $dir/$(dirname $zxy)
exec flock -n -F $dir/$zxy.png.lock curl -s -o $dir/$zxy.png $url/$zxy.png