Skip to content

Commit 810fbf9

Browse files
authored
Update README.md
1 parent 61da518 commit 810fbf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void ConfigureServices(IServiceCollection services)
4343
);
4444
}
4545
```
46-
This feature is not supported by NoSQL data providers and limited to `MsSqlServerProvider`, `MySqlProvider` and `PostgreSqlProvider`.
46+
This feature is not supported by NoSQL data providers and is limited to `MsSqlServerProvider`, `MySqlProvider` and `PostgreSqlProvider`.
4747

4848
In the `Startup.Configure` method, enable the middleware for serving the log UI. Place a call to the `UseSerilogUi` middleware after authentication and authorization middlewares, otherwise authentication may not work for you:
4949

@@ -76,7 +76,7 @@ Options can be found in the [UIOptions](src/Serilog.Ui.Web/Extensions/UiOptions.
7676

7777
### Authorization
7878

79-
By default serilog-ui allows access to the log page only for local requests. In order to give appropriate rights for production use, you need to configure authorization. You can add your own implementations of the `IUiAuthorizationFilter` interface, whose Authorize method is used to allow or prohibit a request. The first step is to provide your own implementation.:
79+
By default serilog-ui allows access to the log page only for local requests. In order to give appropriate rights for production use, you need to configure authorization. You can add your own implementations of the `IUiAuthorizationFilter` interface, whose Authorize method is used to allow or prohibit a request. The first step is to provide your own implementation:
8080

8181
```csharp
8282
public void Configure(IApplicationBuilder appBuilder)
@@ -93,7 +93,7 @@ public void Configure(IApplicationBuilder appBuilder)
9393
}
9494
```
9595

96-
If you set `AuthenticationType` to `Jwt`, you can set a jwt token and an `Authorization` header will be added to the request and for `Cookie` just login into you website and no extra step is required.
96+
If you set `AuthenticationType` to `Jwt`, you can set a JWT token and an `Authorization` header will be added to the request and for `Cookie` just login into your website and no extra step is required.
9797

9898
Here is an example of how you can implement your own authentication and authorization:
9999

@@ -259,4 +259,4 @@ To run the tests, open a terminal in src/Serilog.Ui.Web/ and launch this command
259259

260260
```
261261
npm test
262-
```
262+
```

0 commit comments

Comments
 (0)