File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
update-conference-prague-2024/demo-code-feedback-system/infra/Builders Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,12 @@ private SiteStorageInfra GenerateSiteInfra()
74
74
75
75
_ = ApiResources . Function . HttpsEndpoint . Apply ( apiEndpoint =>
76
76
{
77
- var appsettingsFilePath = $ "{ GlobalConfig . StaticSiteConfig . StaticSitePath } /appsettings.json";
77
+ var wwwRootPath = $ "{ GlobalConfig . StaticSiteConfig . StaticSitePath } /wwwroot";
78
+ var appsettingsFilePath = $ "{ wwwRootPath } /appsettings.json";
78
79
WriteConfigFiles ( appsettingsFilePath , apiEndpoint ) ;
79
80
80
81
//Create Pulumi entries for each file to upload
81
- var fullSearchPath = Path . GetFullPath ( GlobalConfig . StaticSiteConfig . StaticSitePath ) ;
82
+ var fullSearchPath = Path . GetFullPath ( wwwRootPath ) ;
82
83
var allFiles = Directory . EnumerateFiles ( fullSearchPath , searchPattern : "*" , SearchOption . AllDirectories ) ;
83
84
foreach ( var fullFilePath in allFiles )
84
85
{
You can’t perform that action at this time.
0 commit comments