This commit is contained in:
Ben Irvin 2023-08-02 10:11:34 +02:00
parent f55ad19141
commit b0170a2632

View File

@ -6,7 +6,7 @@ import { stat, createReadStream, ReadStream } from 'fs-extra';
import type { IAsset } from '../../../../types';
const httpMethod = (filepath) => {
const httpMethod = (filepath: string) => {
return filepath?.startsWith('https') ? https : http;
};