mirror of
https://github.com/Megghy/MegghysAPI.git
synced 2025-12-06 14:16:56 +08:00
1
This commit is contained in:
@@ -6,6 +6,7 @@ using AntDesign;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddRazorComponents()
|
||||
.AddInteractiveServerComponents();
|
||||
@@ -80,4 +81,4 @@ foreach (var method in inits)
|
||||
}
|
||||
}
|
||||
|
||||
app.Run();
|
||||
app.Run($"http://{Config.Instance.ListenHost}:{Config.Instance.ListenPort}");
|
||||
|
||||
Reference in New Issue
Block a user