Skip to content

Commit 0b31107

Browse files
committed
Adding changes to write to the correct web.config file.
1 parent 4017599 commit 0b31107

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eFormAPI/Installation/CustomActions/CustomAction.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ public static ActionResult UpdateCA(Session session)
314314

315315
// client update
316316
var uiName = $"{customerNumber}_{domain}_client_{uiPort}";
317+
318+
var webApiName = $"{customerNumber}_{domain}_{apiPort}";
317319
var uiIisDir = Path.Combine(siteDir + uiName);
318320
var webApiLocation = Path.Combine(siteDir, domainName);
319321

@@ -347,7 +349,7 @@ public static ActionResult UpdateCA(Session session)
347349
IncrementProgressBar(session);
348350

349351
session.Log("AddImageHandlers called");
350-
AddImageHandlers(uiName);
352+
AddImageHandlers(webApiName);
351353
IncrementProgressBar(session);
352354

353355

0 commit comments

Comments
 (0)