This commit is contained in:
@@ -423,7 +423,7 @@ export class LuxsinAPI {
|
||||
? `/fir-device/${host}/${side}`
|
||||
: `${this.baseUrl}/dev/info.cgi?action=fir&channel=${side}`;
|
||||
const response = await this.timedFetch(url, {
|
||||
method: 'POST', headers: { 'Content-Type': 'audio/wav' }, body: encodeDeviceFirWav(data),
|
||||
method: 'POST', body: encodeDeviceFirWav(data),
|
||||
});
|
||||
if (!response.ok) {
|
||||
let reason = '';
|
||||
|
||||
Reference in New Issue
Block a user