mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(about): show config directory (#2600)
* feat(about): show config directory * feat(about): run yarn i18n:extract * refactor(about): use existing appdata path method * feat(about): suggested changes * refactor(logs): rename variable to be more consistent * feat: suggested changes
This commit is contained in:

committed by
GitHub

parent
d92f169375
commit
0c7373c7e8
@@ -17,6 +17,7 @@ export interface SettingsAboutResponse {
|
||||
totalRequests: number;
|
||||
totalMediaItems: number;
|
||||
tz?: string;
|
||||
appDataPath: string;
|
||||
}
|
||||
|
||||
export interface PublicSettingsResponse {
|
||||
|
@@ -26,6 +26,7 @@ import { plexFullScanner } from '../../lib/scanners/plex';
|
||||
import { getSettings, MainSettings } from '../../lib/settings';
|
||||
import logger from '../../logger';
|
||||
import { isAuthenticated } from '../../middleware/auth';
|
||||
import { appDataPath } from '../../utils/appDataVolume';
|
||||
import { getAppVersion } from '../../utils/appVersion';
|
||||
import notificationRoutes from './notifications';
|
||||
import radarrRoutes from './radarr';
|
||||
@@ -564,6 +565,7 @@ settingsRoutes.get('/about', async (req, res) => {
|
||||
totalMediaItems,
|
||||
totalRequests,
|
||||
tz: process.env.TZ,
|
||||
appDataPath: appDataPath(),
|
||||
} as SettingsAboutResponse);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user