fix: omit explicit content type for FIR uploads
Deploy B9 / deploy (push) Successful in 4m11s

This commit is contained in:
fucheng
2026-11-02 15:48:32 +08:00
parent 6d952fa0fd
commit d09db8b723
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 = '';