1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

fix cd links

This commit is contained in:
Rob Ede
2022-02-18 02:18:44 +00:00
parent 357983d22c
commit 4d210b32f9
8 changed files with 20 additions and 27 deletions

View File

@ -5,7 +5,7 @@ Basic integration of [Casbin-RS](https://github.com/casbin/casbin-rs) with [RBAC
## Usage
```sh
cd security/casbin
cd auth/casbin
```
Modify the files in the `rbac` directory and the code in the `src` directory as required.
@ -13,7 +13,7 @@ Modify the files in the `rbac` directory and the code in the `src` directory as
## Running Server
```sh
cd security/casbin
cd auth/casbin
cargo run (or ``cargo watch -x run``)
# Started http server: 127.0.0.1:8080

View File

@ -1,7 +1,7 @@
# cookie-auth
```sh
cd session/cookie-auth
cd auth/cookie-auth
cargo run
# Starting http server: 127.0.0.1:8080
```

View File

@ -1,7 +1,7 @@
## Cookie session example
```sh
cd session/cookie-session
cd auth/cookie-session
cargo run
# Starting http server: 127.0.0.1:8080
```

View File

@ -1,7 +1,7 @@
# redis-session
```sh
cd session/redis-sessions
cd auth/redis-sessions
cargo run
# Starting http server: 127.0.0.1:8080
```
@ -11,4 +11,4 @@ cargo run
- [GET /](http://localhost:8080/)
- [POST /do_something](http://localhost:8080/do_something)
- [POST /login](http://localhost:8080/login)
- [POST /logout](http://localhost:8080/logout)
- [POST /logout](http://localhost:8080/logout)