Refactor WebApplicationExtensions, set version suffix to 'alpha'
This commit is contained in:
parent
59685b801c
commit
eaf89f87f2
2 changed files with 3 additions and 5 deletions
|
@ -6,10 +6,8 @@ using Microsoft.EntityFrameworkCore;
|
|||
namespace Iceshrimp.Backend.Core.Helpers;
|
||||
|
||||
public static class WebApplicationExtensions {
|
||||
public static WebApplication UseCustomMiddleware(this WebApplication app) {
|
||||
app.UseMiddleware<RequestBufferingMiddleware>();
|
||||
|
||||
return app;
|
||||
public static IApplicationBuilder UseCustomMiddleware(this IApplicationBuilder app) {
|
||||
return app.UseMiddleware<RequestBufferingMiddleware>();
|
||||
}
|
||||
|
||||
public static Config.InstanceSection Initialize(this WebApplication app, string[] args) {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<VersionPrefix>2024.1</VersionPrefix>
|
||||
<VersionSuffix>prealpha</VersionSuffix>
|
||||
<VersionSuffix>alpha</VersionSuffix>
|
||||
|
||||
<RestoreAdditionalProjectSources>
|
||||
https://iceshrimp.dev/api/packages/iceshrimp/nuget/index.json;
|
||||
|
|
Loading…
Add table
Reference in a new issue