[警急應變] 警戒值設定 Model 大小調整 | X Frame Option 改 SAMEORGIN

This commit is contained in:
dev01 2023-09-08 21:24:22 +08:00
parent dad0a6a3bc
commit f3ed81ecf7

View File

@ -170,6 +170,7 @@ namespace FrontendWebApi
app.UseAuthentication(); app.UseAuthentication();
app.UseAuthorization(); app.UseAuthorization();
context.Response.Headers.Add("X-Frame-Options", "SAMEORIGIN");
//app.UseEndpoints(endpoints => //app.UseEndpoints(endpoints =>
//{ //{