mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 04:01:06 -05:00
We need to the 404 error since it's lost once nginx redirects to us
This commit is contained in:
@@ -7,6 +7,7 @@ $username = basename($_SERVER["REQUEST_URI"]);
|
|||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
http_response_code(404);
|
||||||
?>
|
?>
|
||||||
<img style="width: 20%;" src=/icons/greptweet_birdie.svg>
|
<img style="width: 20%;" src=/icons/greptweet_birdie.svg>
|
||||||
<h1>Error <?php echo $_SERVER["REQUEST_URI"]; ?></h1>
|
<h1>404 error <?php echo $_SERVER["REQUEST_URI"]; ?></h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user