diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-28 04:45:49 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-29 22:22:25 +0000 |
| commit | ee9705955ccd52bd973c377c3a1a22ed768a3707 (patch) | |
| tree | f0a2b7a81a82cc126ff36ead25526142f693e896 /src/courtroom.cpp | |
| parent | 3f6fb17deddd1b366d16db5a2531c82407ced9db (diff) | |
Force HTTPS scheme in music streaming URIs
Additionally, fix the path construction for music tracks that are
requested via asset URI.
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 9d872a2..4c6b7fb 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -4758,7 +4758,7 @@ void Courtroom::handle_song(QStringList *p_contents) if (!file_exists(ao_app->get_sfx_suffix(ao_app->get_music_path(f_song))) && !f_song.startsWith("http") && f_song != "~stop.mp3" && !ao_app->m_serverdata.get_asset_url().isEmpty()) { - f_song = (ao_app->m_serverdata.get_asset_url() + "sounds/music/" + f_song).toLower(); + f_song = (ao_app->m_serverdata.get_asset_url() + "/sounds/music/" + f_song); } bool is_stop = (f_song == "~stop.mp3"); |
