From 8ff1f16b7f53dbb32bab36d5de964f3cd01c874c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 16 Sep 2020 11:13:51 +0200 Subject: [PATCH] remove host from default website URL Just assume that Nominatim runs under the root URL. This is a more versatile base that also makes 'make serve' work out of the box. --- settings/defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/defaults.php b/settings/defaults.php index 7a7a1e6f..02b11237 100644 --- a/settings/defaults.php +++ b/settings/defaults.php @@ -85,7 +85,7 @@ if (file_exists(CONST_InstallPath.'/settings/local.php')) require_once(CONST_Ins // Website settings @define('CONST_NoAccessControl', true); -@define('CONST_Website_BaseURL', 'http://'.php_uname('n').'/'); +@define('CONST_Website_BaseURL', '/'); // Language to assume when none is supplied with the query. // When set to false, the local language (i.e. the name tag without suffix) // will be used. -- 2.45.1