Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Rpc #13

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Rpc #13

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Unnecessary variable
  • Loading branch information
runely committed Jan 5, 2022
commit 7d6c5342bd1f9daa351b6637655e66e5d7a06531
11 changes: 4 additions & 7 deletions config/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
'use strict'

const envs = process.env

module.exports = {
QUEUE_DIRECTORY_PATH: envs.QUEUE_DIRECTORY_PATH || 'test/data/queue',
STATUS_DIRECTORY_PATH: envs.STATUS_DIRECTORY_PATH || 'test/data/status',
ERRORS_DIRECTORY_PATH: envs.ERRORS_DIRECTORY_PATH || 'test/data/errors',
DONE_DIRECTORY_PATH: envs.DONE_DIRECTORY_PATH || 'test/data/done',
p360: {
QUEUE_DIRECTORY_PATH: process.env.QUEUE_DIRECTORY_PATH || 'test/data/queue',
STATUS_DIRECTORY_PATH: process.env.STATUS_DIRECTORY_PATH || 'test/data/status',
ERRORS_DIRECTORY_PATH: process.env.ERRORS_DIRECTORY_PATH || 'test/data/errors',
DONE_DIRECTORY_PATH: process.env.DONE_DIRECTORY_PATH || 'test/data/done',
user: process.env.TFK_LAURENTIUS_P360WS_USER || 'domain/user', // username
password: process.env.TFK_LAURENTIUS_P360WS_PASSWORD || 'password', // passord
baseUrl: process.env.TFK_LAURENTIUS_P360WS_BASEURL || 'http://tfk-fh-siweb01t.login.top.no:8088/SI.WS.Core/SIF/',
Expand Down