update:优化二维码长度

This commit is contained in:
2021-04-21 17:00:16 +08:00
parent 4cf18f0b83
commit 88ce4f7026
6 changed files with 103 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ using QRCodeService.Application.Queries;
using QRCodeService.Application.Validations;
using QRCodeService.Infrastructure.Middlewares;
using QRCodeService.Options;
using QRCodeService.Services;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -90,6 +91,8 @@ namespace QRCodeService
options.ForwardedHeaders =
ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
});
services.AddTransient<IShortCodeService, ShortCodeService>();
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.