Skip to content

Commit

Permalink
chore: Update site_suffix with KEYMAN_COM_PROXY_PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
darcywong00 committed Sep 22, 2023
1 parent fa9d7af commit 29752e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _common/KeymanHosts.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ function __construct() {
die("tier is '$this->tier' which is invalid\n");
}

// Append reverse-proxy port
if (isset($_SERVER['KEYMAN_COM_PROXY_PORT'])) {
$site_suffix .= ':'.$_SERVER['KEYMAN_COM_PROXY_PORT'];
}

$this->blog_keyman_com = "https://blog.keyman.com";
$this->donate_keyman_com = "https://donate.keyman.com";
$this->translate_keyman_com = "https://translate.keyman.com";
Expand Down

0 comments on commit 29752e0

Please sign in to comment.