mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 08:22:59 +01:00
update cors example readme
This commit is contained in:
parent
99bed67bec
commit
b9f8a00ba3
@ -1,14 +1,14 @@
|
|||||||
# Actix-web-CORS
|
# Actix Web CORS example
|
||||||
|
|
||||||
## start
|
## start
|
||||||
1 - backend server
|
1 - backend server
|
||||||
```bash
|
```bash
|
||||||
$ cd actix_web_cors/backend
|
$ cd web-cors/backend
|
||||||
$ cargo run
|
$ cargo run
|
||||||
```
|
```
|
||||||
2 - fontend server
|
2 - fontend server
|
||||||
```bash
|
```bash
|
||||||
$ cd actix_web_cors/fontend
|
$ cd web-cors/fontend
|
||||||
$ npm install
|
$ npm install
|
||||||
$ npm run dev
|
$ npm run dev
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user