Skip to content

Commit

Permalink
enable test token for streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
DaWe35 committed Jul 1, 2020
1 parent 46317c8 commit 7a51c78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions post/write.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
exit('Access denied');
}

if ($_POST['token'] == 'test') {
exit('ok');
}

require 'model/get_stream.php';
$streamid = get_streamid_from_token($_POST['token']);

Expand Down

0 comments on commit 7a51c78

Please sign in to comment.