We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0691160 commit 58e6ddbCopy full SHA for 58e6ddb
src/UmbracoFileSystemProviders.Azure/FileSystemVirtualPathProvider.cs
@@ -183,8 +183,14 @@ private string FormatVirtualPathPrefix(string prefix)
183
prefix = prefix.Replace("\\", "/");
184
prefix = prefix.StartsWith("/") ? prefix : string.Concat("/", prefix);
185
prefix = prefix.EndsWith("/") ? prefix : string.Concat(prefix, "/");
186
+
187
+ // if Umbraco is running in a virtual path, the path then needs to be included in the prefix
188
+ if (HttpRuntime.AppDomainAppVirtualPath != "/")
189
+ {
190
+ return HttpRuntime.AppDomainAppVirtualPath + prefix;
191
+ }
192
193
return prefix;
- // return HttpRuntime.AppDomainAppVirtualPath + prefix;
194
}
195
196
/// <summary>
0 commit comments