mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-08 20:37:41 +00:00
dockerise server
This commit is contained in:
@@ -7,11 +7,14 @@ export class PathsConfig {
|
||||
}
|
||||
|
||||
public getStaticRequestsLogPath(): string {
|
||||
return this.getPathByEnvKey('LOG_FILE_REQUESTS');
|
||||
return join(
|
||||
'/srv/data/requests-log',
|
||||
this.configService.getEnv('LOG_FILE_REQUESTS_NAME'),
|
||||
);
|
||||
}
|
||||
|
||||
public getStaticFolder(): string {
|
||||
return this.getPathByEnvKey('STATIC_SERVE_FOLDER');
|
||||
return '/srv/data/static';
|
||||
}
|
||||
|
||||
public getPathByEnvKey(key: string) {
|
||||
|
||||
Reference in New Issue
Block a user