Compare commits

...

2 commits

Author SHA1 Message Date
zeon-neon[bot]
c55d4ac9fc
enhancement(lint): Fix lint errors for public/gh/index.php
Some checks failed
publish / publish-docker-image (push) Has been cancelled
Remote Deploy / Build & deploy (push) Has been cancelled
Co-authored-by: NeonGamerBot-QK <neon@saahild.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2025-01-30 23:04:08 +00:00
e2f0e7ab9c
Create index.php (#15) 2025-01-30 18:04:04 -05:00

10
public/gh/index.php Normal file
View file

@ -0,0 +1,10 @@
<?php
$url = $_SERVER["REQUEST_URI"];
$parts = explode("?", $url);
$repo = $parts[1];
if ($repo == "") {
header("Location: https://github.com/NeonGamerBot-QK", true, 301);
} else {
header("Location: https://github.com/NeonGamerBot-QK/" . $repo, true, 301);
}
?>