mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Fix https redirect
This commit is contained in:
parent
5f05533801
commit
c396ba8550
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ if (!empty($_GET['p'])) {
|
|||
|
||||
if (!empty($obj) && empty($obj->error)) {
|
||||
http_response_code(300);
|
||||
header("Location: {$_POST['name']}");
|
||||
} else {
|
||||
http_response_code(401);
|
||||
error_log("Publish denied");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue