Skip to content

Commit

Permalink
Fix default example config
Browse files Browse the repository at this point in the history
  • Loading branch information
vampy committed Jan 26, 2019
1 parent 908c9f3 commit 8986603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/config.EXAMPLE.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

// Redirect access from web browser to secure server
// NOTE: Do not redirect API requests or download requests as Old STK versions can't handle proper certificates
const REDIRECT_TO_HTTPS_SERVER_NAME = true;
const STK_HTTPS_SERVER_NAME = "https://online.supertuxkart.net/";
const REDIRECT_TO_HTTPS_SERVER_NAME = false;
const STK_HTTPS_SERVER_NAME = "https://online.supertuxkart.net";
if (!API_MODE && !DOWNLOAD_MODE && REDIRECT_TO_HTTPS_SERVER_NAME)
{
header("Location: " . STK_HTTPS_SERVER_NAME . $_SERVER['REQUEST_URI'], true, 307);
Expand Down

0 comments on commit 8986603

Please sign in to comment.