Skip to content

Commit

Permalink
增加非调试模式下禁止wsdebug推送和展示
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwenbo committed Sep 16, 2018
1 parent 731b1d6 commit 1c666aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WsDebug.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function send( $message, string $type = 'info' )
public function getHtml() : string
{
if( config( 'app_debug' ) === true ){
parent::getHtml();
return parent::getHtml();
} else{
return 'closed';
}
Expand Down

0 comments on commit 1c666aa

Please sign in to comment.