Warn when working directory differs from content path.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2025-01-09 10:02:14 -07:00
parent 792f295c45
commit 4d9c687709
2 changed files with 10 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ var builder = WebApplication.CreateBuilder(args);
//Print Messages
StaticHelper.InitMessage(builder.Configuration);
//Check Migration
StaticHelper.CheckMigration(builder.Environment.WebRootPath);
StaticHelper.CheckMigration(builder.Environment.WebRootPath, builder.Environment.ContentRootPath);
// Add services to the container.
builder.Services.AddControllersWithViews();