Skip to content

Commit 3e53cc8

Browse files
authored
Fix script path for existing region
1 parent b7f24b8 commit 3e53cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Cms.Integrations.Crm.Hubspot/Models/ViewModels/HubspotFormViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ public class HubspotFormViewModel
99
public string Region { get; set; }
1010

1111
public string ScriptPath =>
12-
$"//js{(string.IsNullOrEmpty(Region) ? string.Empty : Region.ToLowerInvariant())}.hsforms.net/forms/shell.js";
12+
$"//js{(string.IsNullOrEmpty(Region) ? string.Empty : "-" + Region.ToLowerInvariant())}.hsforms.net/forms/shell.js";
1313
}
1414
}

0 commit comments

Comments
 (0)