mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Начал снова делать форму для добавления картриджей
This commit is contained in:
1 parent
ba16de4643
commit
70bfae943b
14 files changed
+100
-1466
No files matched your search
@@ -11,7 +11,7 @@ var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.Services.AddControllers().AddNewtonsoftJson(options =>
|
||||
{
|
||||
options.SerializerSettings.ContractResolver = new DefaultContractResolver();
|
||||
options.SerializerSettings.ContractResolver = new DefaultContractResolver();
|
||||
});
|
||||
|
||||
builder.Services.AddScoped<ICartridgeService, CartridgeService>();
|
||||
@@ -30,12 +30,7 @@ builder.Services.AddCors(options =>
|
||||
.AllowAnyMethod();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
builder.WebHost.UseUrls($"http://0.0.0.0:{builder.Configuration["Server:Port"]}");
|
||||
|
||||
|
||||
builder.Services.AddOpenApi(options =>
|
||||
{
|
||||
options.AddDocumentTransformer((document, context, cancelationToken) =>
|
||||
|
||||
Reference in new issue
Block a user