1
0
mirror of https://github.com/actix/examples synced 2025-06-29 02:10:36 +02:00

fix broken links (#441)

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Altug Sahin <altugsahin@gmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
Altug Sahin
2021-10-06 17:28:53 -04:00
committed by GitHub
parent cc948594fe
commit 8186a8cfea
35 changed files with 128 additions and 47 deletions

View File

@ -5,7 +5,7 @@ Basic integration of [Casbin-RS](https://github.com/casbin/casbin-rs) with [RBAC
## Usage
```sh
cd examples/casbin
cd security/casbin
```
Modify the files in the `rbac` directory and the code in the `src` directory as required.
@ -13,13 +13,13 @@ Modify the files in the `rbac` directory and the code in the `src` directory as
## Running Server
```sh
cd examples/casbin
cd security/casbin
cargo run (or ``cargo watch -x run``)
# Started http server: 127.0.0.1:8080
```
In this example, you can get the the successful result at `http://localhost:8080/success` (accessible) and the failed result at `http://localhost:8080/fail` (inaccessible, `ERR_EMPTY_RESPONSE`).
In this example, you can get the successful result at `http://localhost:8080/success` (accessible) and the failed result at `http://localhost:8080/fail` (inaccessible, `ERR_EMPTY_RESPONSE`).
## Others