mirror of
https://github.com/farcasclaudiu/AzureStaticWebApp-CSharp-SimpleDemo.git
synced 2026-06-22 07:01:03 +03:00
adding security
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
@page "/fetchdata"
|
||||
@inject HttpClient Http
|
||||
@using Microsoft.AspNetCore.Authorization
|
||||
@attribute [Authorize]
|
||||
|
||||
<h1>Weather forecast</h1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user