Navigation Menu

Skip to content

Commit

Permalink
Fixed non-docker https checking
Browse files Browse the repository at this point in the history
  • Loading branch information
whs committed Dec 29, 2016
1 parent 2b042ae commit decc3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.php
Expand Up @@ -4,7 +4,7 @@
define("FB_SECRET", "");

$chatserver = $_SERVER['HTTP_HOST'];
$protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
$protocol = $_SERVER['HTTPS'] == 'on' ? 'https' : 'http';
define("CHAT_MASTER", $protocol."://".$chatserver."/privpub/master");
define("CHAT_CHAT", "http://".$chatserver."/privpub/chat");
define("CHAT_ONLINE", $protocol."://".$chatserver."/pub/online");
Expand Down

0 comments on commit decc3aa

Please sign in to comment.