mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 09:42:40 +01:00
16 lines
228 B
Markdown
16 lines
228 B
Markdown
|
# Actix-web-CORS
|
||
|
|
||
|
## start
|
||
|
1 - backend server
|
||
|
```bash
|
||
|
$ cd actix_web_cors/backend
|
||
|
$ cargo run
|
||
|
```
|
||
|
2 - fontend server
|
||
|
```bash
|
||
|
$ cd actix_web_cors/fontend
|
||
|
$ npm install
|
||
|
$ npm run dev
|
||
|
```
|
||
|
then open broswer 'http://localhost:1234/'
|