mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-22 21:28:10 +03:00
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.
This commit is contained in:
parent
cf4f62c82c
commit
8ff1f16b7f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user