From b7d7d63a855aeb2af7a66ed4e6d8a5e7f2c9756e Mon Sep 17 00:00:00 2001 From: Raruto Date: Thu, 26 Mar 2020 15:08:14 +0100 Subject: [PATCH] default user agent --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 13cb25f..e050101 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ require_once 'config.php'; require_once 'functions.php'; // Default configs. -$user_agent = @$config['user_agent'] ?: ''; +$user_agent = @$config['user_agent'] ?: 'Tile-Proxy-PHP/0.1'; $servers = @$config['servers'] ?: array( 'osm' => 'https://{switch:a,b,c}.tile.openstreetmap.org/{z}/{x}/{y}.png', 'otm' => 'https://{switch:a,b,c}.tile.opentopomap.org/{z}/{x}/{y}.png',