stream: add semicolons to imports
This commit is contained in:
parent
d09e6a3110
commit
656c0a3495
2 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
import { request } from 'undici'
|
||||
import { Readable } from 'node:stream'
|
||||
import { assert } from 'console'
|
||||
import { getHeaders } from './shared.js'
|
||||
import { request } from 'undici';
|
||||
import { Readable } from 'node:stream';
|
||||
import { assert } from 'console';
|
||||
import { getHeaders } from './shared.js';
|
||||
|
||||
const CHUNK_SIZE = BigInt(8e6); // 8 MB
|
||||
const min = (a, b) => a < b ? a : b;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { streamAudioOnly, streamDefault, streamLiveRender, streamVideoOnly, convertToGif } from "./types.js";
|
||||
import { internalStream } from './internal.js'
|
||||
import { internalStream } from './internal.js';
|
||||
|
||||
export default async function(res, streamInfo) {
|
||||
try {
|
||||
|
@ -24,7 +24,7 @@ export default async function(res, streamInfo) {
|
|||
await streamDefault(streamInfo, res);
|
||||
break;
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
res.status(500).json({ status: "error", text: "Internal Server Error" });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue