let genius annotation feature work in .tf

This commit is contained in:
Samidy 2026-04-08 20:16:46 +03:00
parent e9131c7e9a
commit efbd16c1f0

View file

@ -74,8 +74,13 @@ class GeniusManager {
this.loading = false; this.loading = false;
} }
// idgaf anymore im js hardcoding this lmaooo
getToken() { getToken() {
return 'QmS9OvsS-7ifRBKx_ochIPQU7oejIS9Eo_z5iWHmCPyhwLVQID3pYTHJmJTa6z8z'; // idgaf anymore im js hardcoding this lmaooo const hostname = window.location.hostname;
if (hostname.endsWith('monochrome.tf') || hostname === 'monochrome.tf') {
return 'OpITG-h86oehKYuJJ5QVY5F-HxUWXb31EwGKarx2Tle3W9rBUVnMaUL9qo_Oh9Q7';
}
return 'QmS9OvsS-7ifRBKx_ochIPQU7oejIS9Eo_z5iWHmCPyhwLVQID3pYTHJmJTa6z8z';
} }
async searchTrack(title, artist) { async searchTrack(title, artist) {