Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ SESSION_SECRET=mySecret
OPENAPI_SPEC=/api/v1/spec
OPENAPI_ENABLE_RESPONSE_VALIDATION=false

LIVEPOOL_SERVER=http://localhost:7935
LIVEPOOL_SERVER=http://localhost:7935
REGION=""
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
"pino-pretty": "^3.5.0",
"supertest": "^4.0.2"
},
"author": "Carmine DiMascio <cdimascio@gmail.com> (https://github.com/cdimascio)"
"author": "Nico Vergauwen <nico@livepool.io> (https://github.com/kyriediculous)"
}
2 changes: 1 addition & 1 deletion server/api/services/node.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class LivepoolNodeService {
return new Promise((resolve, reject) => {
axios.get(`${this._server}/transcoders`)
.catch(err => reject(err))
.then(res => resolve(res.data))
.then(res => resolve(res.data.map(d => ({Region: process.env.REGION, ...d}))))
})
}

Expand Down