打印模板管理,设计
This commit is contained in:
1 parent
53dfc9ef1d
commit
ad932a7050
15 files changed
+283
-120
No files matched your search
@@ -99,7 +99,12 @@ app.UseEndpoints(endpoints =>
|
||||
pattern: "{controller=Home}/{action=Index}/{id?}");
|
||||
endpoints.MapHub<StockTickerHub>("/stocks");
|
||||
});
|
||||
|
||||
// 添加以下代码以确保响应是UTF-8编码
|
||||
app.Use(async (context, next) =>
|
||||
{
|
||||
context.Response.ContentType = "text/html; charset=utf-8";
|
||||
await next.Invoke();
|
||||
});
|
||||
app.UseWtmContext();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
|
||||
Reference in new issue
Block a user