Skip to content

Commit

Permalink
jesse s comment
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzraho committed Apr 1, 2021
1 parent 5cae192 commit abcaabf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/config-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ module.exports = () => {
config.s3.folder = config.ow.namespace // this becomes the root only /
// Legacy applications set the defaultTvmUrl in .env, so we need to ignore it to not
// consider it as custom. The default will be set downstream by aio-lib-core-tvm.
config.s3.tvmUrl = userConfig.app.tvmurl === defaultTvmUrl ? undefined : userConfig.app.tvmurl
if (userConfig.app.tvmurl !== defaultTvmUrl) {
config.s3.tvmUrl = userConfig.app.tvmurl
}
// set hostname for backend actions && UI
config.app.defaultHostname = defaultAppHostname
config.app.hostname = userConfig.app.hostname || defaultAppHostname
Expand Down

0 comments on commit abcaabf

Please sign in to comment.