style: auto-fix linting issues

This commit is contained in:
edideaur 2026-04-14 19:46:46 +00:00 committed by github-actions[bot]
parent bd121f5414
commit 19cecc0c76
3 changed files with 42 additions and 3 deletions

View file

@ -134,7 +134,20 @@ class ServerAPI {
}
}
const _cr = ['emVl','em1j','emVlIG11c2lj','emVlIGVudGVydGFpbm1lbnQ=','emVlbA==','Ym9sbHl3b29kIG11c2ljIGluZGlh','emVlIHJlY29yZHM=','emluZyBtdXNpYw==','ZXRjIGJvbGx5d29vZA==','emVlIHN0dWRpb3M=','emluZGFnaSBtdXNpYw==','emVlNQ=='].map(atob);
const _cr = [
'emVl',
'em1j',
'emVlIG11c2lj',
'emVlIGVudGVydGFpbm1lbnQ=',
'emVlbA==',
'Ym9sbHl3b29kIG11c2ljIGluZGlh',
'emVlIHJlY29yZHM=',
'emluZyBtdXNpYw==',
'ZXRjIGJvbGx5d29vZA==',
'emVlIHN0dWRpb3M=',
'emluZGFnaSBtdXNpYw==',
'emVlNQ==',
].map(atob);
const _isBlockedCopyright = (c) => !!c && _cr.some((s) => c.toLowerCase().includes(s));
export async function onRequest(context) {

View file

@ -162,7 +162,20 @@ class ServerAPI {
}
}
const _cr = ['emVl','em1j','emVlIG11c2lj','emVlIGVudGVydGFpbm1lbnQ=','emVlbA==','Ym9sbHl3b29kIG11c2ljIGluZGlh','emVlIHJlY29yZHM=','emluZyBtdXNpYw==','ZXRjIGJvbGx5d29vZA==','emVlIHN0dWRpb3M=','emluZGFnaSBtdXNpYw==','emVlNQ=='].map(atob);
const _cr = [
'emVl',
'em1j',
'emVlIG11c2lj',
'emVlIGVudGVydGFpbm1lbnQ=',
'emVlbA==',
'Ym9sbHl3b29kIG11c2ljIGluZGlh',
'emVlIHJlY29yZHM=',
'emluZyBtdXNpYw==',
'ZXRjIGJvbGx5d29vZA==',
'emVlIHN0dWRpb3M=',
'emluZGFnaSBtdXNpYw==',
'emVlNQ==',
].map(atob);
const _isBlockedCopyright = (c) => !!c && _cr.some((s) => c.toLowerCase().includes(s));
export async function onRequest(context) {

View file

@ -51,7 +51,20 @@ import {
createTrackFromSong,
} from './tracker.js';
const _cr = ['emVl','em1j','emVlIG11c2lj','emVlIGVudGVydGFpbm1lbnQ=','emVlbA==','Ym9sbHl3b29kIG11c2ljIGluZGlh','emVlIHJlY29yZHM=','emluZyBtdXNpYw==','ZXRjIGJvbGx5d29vZA==','emVlIHN0dWRpb3M=','emluZGFnaSBtdXNpYw==','emVlNQ=='].map(atob);
const _cr = [
'emVl',
'em1j',
'emVlIG11c2lj',
'emVlIGVudGVydGFpbm1lbnQ=',
'emVlbA==',
'Ym9sbHl3b29kIG11c2ljIGluZGlh',
'emVlIHJlY29yZHM=',
'emluZyBtdXNpYw==',
'ZXRjIGJvbGx5d29vZA==',
'emVlIHN0dWRpb3M=',
'emluZGFnaSBtdXNpYw==',
'emVlNQ==',
].map(atob);
const _isBlockedCopyright = (c) => !!c && _cr.some((s) => c.toLowerCase().includes(s));
fontSettings.applyFont().catch(console.error);