remove hard coded redirect
This commit is contained in:
parent
2dd51d4768
commit
a0a88ad9d7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue