let genius annotation feature work in .tf
This commit is contained in:
parent
e9131c7e9a
commit
efbd16c1f0
1 changed files with 6 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue