[警急應變] 警戒值設定 Model 大小調整 | X Frame Option 改 SAMEORGIN
This commit is contained in:
parent
dad0a6a3bc
commit
f3ed81ecf7
@ -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 =>
|
||||||
//{
|
//{
|
||||||
|
Loading…
Reference in New Issue
Block a user