Skip to content

Commit

Permalink
Feat.: env var for fct worker url
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonnin committed Jun 7, 2019
1 parent 2be9344 commit 4a7cbff
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 11 additions & 1 deletion CHANGES.md
Expand Up @@ -2,9 +2,19 @@

(Almost) full release notes.


## Version 0.4.0

* Features:
* Tenant page
* Namespace page
* Function worker in connection definition
* Updates in UI


## Version 0.3.1

* Fix: Fix: axios queries not using ovrriden port/host
* Fix: axios queries not using ovrriden port/host


## Version 0.3.0
Expand Down
5 changes: 4 additions & 1 deletion serverMiddleware/connections.js
Expand Up @@ -16,7 +16,10 @@ if (process.env.PE_CONNECTION_URL) {
const name = process.env.PE_CONNECTION_NAME ?
process.env.PE_CONNECTION_NAME :
process.env.PE_CONNECTION_URL.replace(/https?:\/\//, '')
const connection = { name, url: process.env.PE_CONNECTION_URL, serverConfig: true }
const connection = { name,
url: process.env.PE_CONNECTION_URL,
fctWorkerUrl: process.env.PE_CONNECTION_FCT_WORKER_URL,
serverConfig: true }

if (process.env.PE_CONNECTION_TOKEN) {
connection.token = process.env.PE_CONNECTION_TOKEN
Expand Down

0 comments on commit 4a7cbff

Please sign in to comment.