This commit is contained in:
ZAZiOs 2025-06-30 15:15:57 +03:00 committed by GitHub
commit e7e8be60fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -218,7 +218,7 @@ class Audio extends Media
return ovk_scheme(true)
. $_SERVER["HTTP_HOST"] . ":"
. $_SERVER["HTTP_PORT"]
. "/assets/packages/static/openvk/audio/nomusic.mp3";
. "/assets/packages/static/openvk/audio/api_unallowed.mp3";
}
$key = bin2hex($this->getRecord()->token);
@ -391,7 +391,7 @@ class Audio extends Media
* 9. searchable - Can be found via search?
* 10. unique_id - Unique ID of audio
*
* @notice that in case if exposeOriginalURLs is set to false in config, "url" will always contain link to nomusic.mp3,
* @notice that in case if exposeOriginalURLs is set to false in config, "url" will always contain link to api_unallowed.mp3,
* unless $forceURLExposure is set to true.
*
* @notice may trigger db flush if the audio is not processed yet, use with caution on unsaved models.

Binary file not shown.