File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ config({ path: './.env.app' })
6
6
// config/app.js
7
7
export const title : string = 'Z-Wave JS UI'
8
8
export const storeDir : string = process . env . STORE_DIR || joinPath ( true , 'store' )
9
- export const logsDir : string = joinPath ( storeDir , 'logs' )
9
+ export const logsDir : string =
10
+ process . env . ZWAVEJS_LOGS_DIR || joinPath ( storeDir , 'logs' )
10
11
export const snippetsDir : string = joinPath ( storeDir , 'snippets' )
11
12
12
13
export const tmpDir : string = joinPath ( storeDir , '.tmp' )
Original file line number Diff line number Diff line change @@ -305,10 +305,7 @@ export type SensorTypeScale = {
305
305
306
306
export type AllowedApis = ( typeof allowedApis ) [ number ]
307
307
308
- const ZWAVEJS_LOG_FILE = utils . joinPath (
309
- process . env . ZWAVEJS_LOGS_DIR || logsDir ,
310
- 'zwavejs_%DATE%.log' ,
311
- )
308
+ const ZWAVEJS_LOG_FILE = utils . joinPath ( logsDir , 'zwavejs_%DATE%.log' )
312
309
313
310
export type ZUIValueIdState = {
314
311
text : string
You can’t perform that action at this time.
0 commit comments