move storage data directory to root

This commit is contained in:
Philipinho
2024-06-27 15:07:48 +01:00
parent aea37eecda
commit e73293856b
7 changed files with 20 additions and 7 deletions

View File

@ -1,2 +1,11 @@
import * as path from 'path';
export const APP_DATA_PATH = 'data';
export const LOCAL_STORAGE_PATH = `${APP_DATA_PATH}/storage`;
const LOCAL_STORAGE_DIR = `${APP_DATA_PATH}/storage`;
export const LOCAL_STORAGE_PATH = path.resolve(
process.cwd(),
'..',
'..',
LOCAL_STORAGE_DIR,
);