remove hard coded redirect

This commit is contained in:
Simon Vieille 2022-02-18 20:20:58 +01:00
parent 2dd51d4768
commit a0a88ad9d7
1 changed files with 0 additions and 7 deletions

View File

@ -1,12 +1,5 @@
<?php
if (in_array($_SERVER['SERVER_NAME'], ['deblan.io', 'deblan.tv', 'www.deblan.tv'])) {
header("HTTP/1.0 301 Moved Permanently");
header("Location: https://www.deblan.io".$_SERVER['REQUEST_URI']);
die;
}
use App\Kernel;
use Symfony\Component\Dotenv\Dotenv;
use Symfony\Component\ErrorHandler\Debug;