mirror of
https://github.com/docmost/docmost.git
synced 2025-11-17 14:31:12 +10:00
fixes
* integrate websocket redis adapter * use APP_SECRET for jwt signing * auto migrate database on startup in production * add updatedAt to update db operations * create enterprise ee package directory * fix comment editor focus * other fixes
This commit is contained in:
@ -11,6 +11,8 @@ import {
|
||||
StorageOption,
|
||||
} from '../interfaces';
|
||||
import { LocalDriver, S3Driver } from '../drivers';
|
||||
import * as process from 'node:process';
|
||||
import { LOCAL_STORAGE_PATH } from '../../../helpers';
|
||||
|
||||
function createStorageDriver(disk: StorageConfig): StorageDriver {
|
||||
switch (disk.driver) {
|
||||
@ -33,8 +35,7 @@ export const storageDriverConfigProvider = {
|
||||
return {
|
||||
driver,
|
||||
config: {
|
||||
storagePath:
|
||||
process.cwd() + '/' + environmentService.getLocalStoragePath(),
|
||||
storagePath: process.cwd() + '/' + LOCAL_STORAGE_PATH,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user