update:优化二维码长度
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user