Skip to content

Commit

Permalink
Need to use OS-specific PATH separators (\ vs /)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanselman committed Feb 6, 2020
1 parent 371f73e commit 8ff36f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/DasBlog.Web.UI/Startup.cs
Expand Up @@ -60,7 +60,7 @@ public Startup(IConfiguration configuration, IWebHostEnvironment env)
IISUrlRewriteConfigPath = $"Config/IISUrlRewrite.{hostingEnvironment.EnvironmentName}.config";
SiteConfigPath = $"Config/site.{hostingEnvironment.EnvironmentName}.config";
MetaConfigPath = $"Config/meta.{hostingEnvironment.EnvironmentName}.config";
ThemeFolderPath = string.Format("Themes\\{0}", Configuration.GetSection("Theme").Value);
ThemeFolderPath = string.Format("Themes{1}{0}", Configuration.GetSection("Theme").Value, Path.PathSeparator);
}

public IConfiguration Configuration { get; }
Expand Down

0 comments on commit 8ff36f6

Please sign in to comment.