Files
gitmost/apps/server/src/common/helpers/constants.ts
Philip Okugbe 05b3c65b0f feat: notifications (#1947)
* feat: notifications
* feat: watchers

* improvements

* handle page move for watchers

* make watchers non-blocking

* more
2026-02-14 20:00:38 -08:00

16 lines
334 B
TypeScript

import * as path from 'path';
export const APP_DATA_PATH = 'data';
const LOCAL_STORAGE_DIR = `${APP_DATA_PATH}/storage`;
export const LOCAL_STORAGE_PATH = path.resolve(
process.cwd(),
'..',
'..',
LOCAL_STORAGE_DIR,
);
export function getPageTitle(title: string | null | undefined): string {
return title || 'untitled';
}