mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix for using remote host with non-default port
This commit is contained in:
@@ -41,7 +41,7 @@ $collections = [
|
||||
'$collection' => Database::SYSTEM_COLLECTION_PLATFORMS,
|
||||
'name' => 'Current Host',
|
||||
'type' => 'web',
|
||||
'hostname' => $request->getServer('HTTP_HOST'),
|
||||
'hostname' => parse_url($request->getServer('HTTP_HOST'), PHP_URL_HOST),
|
||||
],
|
||||
],
|
||||
'legalName' => '',
|
||||
|
||||
Reference in New Issue
Block a user