|
@@ -117,15 +117,14 @@ namespace MySystem
|
|
|
{
|
|
|
app.UseDeveloperExceptionPage();
|
|
|
|
|
|
-
|
|
|
+ Library.ConfigurationManager.EnvironmentFlag = 1;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
app.UseExceptionHandler("/Home/Error");
|
|
|
app.UseHsts();
|
|
|
-
|
|
|
+ Library.ConfigurationManager.EnvironmentFlag = 2;
|
|
|
}
|
|
|
- Library.ConfigurationManager.EnvironmentFlag = 1;
|
|
|
Library.function.WritePage("/", "WebRootPath.txt", env.WebRootPath);
|
|
|
|
|
|
|