This commit is contained in:
Kasra Bigdeli
2023-05-08 22:07:13 -07:00
committed by GitHub
parent 1251c42d12
commit a71dfbcd68
5 changed files with 9 additions and 0 deletions
+3
View File
@@ -615,6 +615,7 @@ class AppsDataStore {
repoInfo: RepoInfo,
authenticator: Authenticator,
customNginxConfig: string,
redirectDomain: string,
preDeployFunction: string,
serviceUpdateOverride: string,
websocketSupport: boolean,
@@ -689,6 +690,7 @@ class AppsDataStore {
appObj.websocketSupport = !!websocketSupport
appObj.nodeId = nodeId
appObj.customNginxConfig = customNginxConfig
appObj.redirectDomain = redirectDomain
appObj.preDeployFunction = preDeployFunction
appObj.serviceUpdateOverride = serviceUpdateOverride
appObj.description = description
@@ -887,6 +889,7 @@ class AppsDataStore {
notExposeAsWebApp: false,
customDomain: [],
hasDefaultSubDomainSsl: false,
redirectDomain: '',
forceSsl: false,
websocketSupport: false,
}
+1
View File
@@ -67,6 +67,7 @@ interface IAppDefinitionBase {
preDeployFunction?: string
serviceUpdateOverride?: string
customNginxConfig?: string
redirectDomain?: string
networks: string[]
customDomain: IAppCustomDomain[]
tags?: IAppTag[]
@@ -327,6 +327,7 @@ router.post('/update/', function (req, res, next) {
const volumes = req.body.volumes || []
const ports = req.body.ports || []
const instanceCount = req.body.instanceCount || '0'
const redirectDomain = req.body.redirectDomain || ''
const preDeployFunction = req.body.preDeployFunction || ''
const serviceUpdateOverride = req.body.serviceUpdateOverride || ''
const containerHttpPort = Number(req.body.containerHttpPort) || 80
@@ -399,6 +400,7 @@ router.post('/update/', function (req, res, next) {
ports,
repoInfo,
customNginxConfig,
redirectDomain,
preDeployFunction,
serviceUpdateOverride,
websocketSupport,
+2
View File
@@ -652,6 +652,7 @@ class ServiceManager {
ports: IAppPort[],
repoInfo: RepoInfo,
customNginxConfig: string,
redirectDomain: string,
preDeployFunction: string,
serviceUpdateOverride: string,
websocketSupport: boolean,
@@ -773,6 +774,7 @@ class ServiceManager {
repoInfo,
self.authenticator,
customNginxConfig,
redirectDomain,
preDeployFunction,
serviceUpdateOverride,
websocketSupport,
+1
View File
@@ -337,6 +337,7 @@ export default class MigrateCaptainDuckDuck {
repoInfo,
self.authenticator,
app.customNginxConfig,
'',
app.preDeployFunction,
'',
false,