mirror of
https://github.com/actix/actix-web.git
synced 2024-12-18 06:06:36 +00:00
15 lines
226 B
Markdown
15 lines
226 B
Markdown
# Actix Web CORS example
|
|
|
|
## start
|
|
1 - backend server
|
|
```bash
|
|
$ cd web-cors/backend
|
|
$ cargo run
|
|
```
|
|
2 - frontend server
|
|
```bash
|
|
$ cd web-cors/frontend
|
|
$ npm install
|
|
$ npm run dev
|
|
```
|
|
then open browser 'http://localhost:1234/'
|