Skip to content

Commit

Permalink
add message sound
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Oct 22, 2023
1 parent 66ea1dc commit 2a64180
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions config/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,23 @@
'middleware' => ['web', 'admin'],
],

/**
*
* Laravel admin message sound
*
*/
'enable_message_sound' => env('ADMIN_MESSAGE_SOUND', false),

/**
* message sound type
*
*/
'message_type' => [
'default' => '/Audio/success.mp3',
'success' => '/Audio/success.mp3',
'error' => '/Audio/失败.mp3',
],

/*
|--------------------------------------------------------------------------
| Laravel-admin install directory
Expand Down

0 comments on commit 2a64180

Please sign in to comment.