mirror of
https://github.com/docmost/docmost.git
synced 2025-11-17 21:11:09 +10:00
restructure directories
* set log level based on env
This commit is contained in:
@ -10,7 +10,7 @@ import {
|
||||
import { streamToBuffer } from '../storage.utils';
|
||||
import { Readable } from 'stream';
|
||||
import { getSignedUrl } from '@aws-sdk/s3-request-presigner';
|
||||
import { getMimeType } from '../../../helpers';
|
||||
import { getMimeType } from '../../../common/helpers';
|
||||
|
||||
export class S3Driver implements StorageDriver {
|
||||
private readonly s3Client: S3Client;
|
||||
|
||||
@ -12,7 +12,7 @@ import {
|
||||
} from '../interfaces';
|
||||
import { LocalDriver, S3Driver } from '../drivers';
|
||||
import * as process from 'node:process';
|
||||
import { LOCAL_STORAGE_PATH } from '../../../helpers';
|
||||
import { LOCAL_STORAGE_PATH } from '../../../common/helpers';
|
||||
|
||||
function createStorageDriver(disk: StorageConfig): StorageDriver {
|
||||
switch (disk.driver) {
|
||||
|
||||
Reference in New Issue
Block a user