Skip to content

Commit

Permalink
fix local relative path after moving to ServiceStack/pvq.app
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jun 23, 2024
1 parent 1ffd5ae commit fabfeb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MyApp/Configure.AppHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void Configure(IWebHostBuilder builder) => builder
var questionsDir = context.HostingEnvironment.ContentRootPath.CombineWith("App_Data/questions");
#if DEBUG
questionsDir = Path.GetFullPath(
Path.Combine(context.HostingEnvironment.ContentRootPath, "../../pvq/questions"));
Path.Combine(context.HostingEnvironment.ContentRootPath, "../../../mythz/pvq/questions"));
#endif
services.AddSingleton(c => new QuestionsProvider(
c.GetRequiredService<ILogger<QuestionsProvider>>(),
Expand Down

0 comments on commit fabfeb0

Please sign in to comment.