mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-20 01:09:35 +05:30
(refactor): removed hardcoded dev server local ip from router
This commit is contained in:
@@ -24,7 +24,7 @@ $devRoutes = [
|
||||
'/neosubhamoy/htdocs/dmca' => 'dmca.php',
|
||||
];
|
||||
|
||||
if ($host == "localhost" || $host == "192.168.29.177") {
|
||||
if ($host == "localhost" || $host == $_ENV['LOCAL_IP']) {
|
||||
$routes = $devRoutes;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user