forked from ddrilling/AsbCloudServer
Merge branch 'dev' into feature/import_well_operations
This commit is contained in:
commit
4b4b4ea953
@ -28,7 +28,7 @@ namespace AsbCloudApp.Data
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Название типа компании
|
/// Название типа компании
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[StringLength(30, MinimumLength = 1, ErrorMessage = "Допустимое имя типа компании от 1 до 30 символов")]
|
[StringLength(255, MinimumLength = 1, ErrorMessage = "Допустимое имя типа компании от 1 до 255 символов")]
|
||||||
public string? CompanyTypeCaption { get; set; } = null!;
|
public string? CompanyTypeCaption { get; set; } = null!;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,9 +25,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Update="wwwroot\**">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="AsbCloudWebApi.service">
|
<Content Include="AsbCloudWebApi.service">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -132,17 +132,6 @@ namespace AsbCloudWebApi
|
|||||||
app.UseDeveloperExceptionPage();
|
app.UseDeveloperExceptionPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
app.UseDefaultFiles();
|
|
||||||
app.UseStaticFiles(
|
|
||||||
new StaticFileOptions
|
|
||||||
{
|
|
||||||
OnPrepareResponse = ctx =>
|
|
||||||
{
|
|
||||||
ctx.Context.Response.Headers.CacheControl = "public,max-age=2592000";
|
|
||||||
ctx.Context.Response.Headers.Expires = System.DateTime.UtcNow.AddDays(10).ToString("R", System.Globalization.CultureInfo.InvariantCulture);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
app.UseCors("ClientPermission");
|
app.UseCors("ClientPermission");
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
<!doctype html><html lang="ru"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="white"/><meta name="theme-color" media="(prefers-color-scheme: light)" content="white"/><meta name="theme-color" media="(prefers-color-scheme: dark)" content="black"/><meta name="description" content="Онлайн мониторинг процесса бурения в реальном времени в офисе заказчика"/><title>DDrill</title><script defer="defer" src="/runtime~main.5f05be65.js"></script><script defer="defer" src="/vendors.408d069b.js"></script><script defer="defer" src="/main.c3c166db.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
|
Loading…
Reference in New Issue
Block a user