mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
fix cd links
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
```
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user