flash.moe/public/signature/redir.php
2020-08-20 00:02:37 +00:00

6 lines
198 B
PHP

<?php
$np = json_decode(file_get_contents('np.json'));
if(!empty($np[0]->nowplaying) && !empty($np[0]->url)) {
header('Location: ' . $np[0]->url);
} else header('Location: https://flash.moe');