mirror of
https://github.com/actix/examples
synced 2024-11-28 00:12:57 +01:00
8186a8cfea
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru> Co-authored-by: Altug Sahin <altugsahin@gmail.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
17 lines
248 B
Markdown
17 lines
248 B
Markdown
# Actix Web CORS example
|
|
|
|
## Run Server
|
|
```sh
|
|
cd secutiy/web-cors/backend
|
|
cargo run
|
|
```
|
|
|
|
## Run Frontend
|
|
In a separate terminal, also run:
|
|
```sh
|
|
cd secutiy/web-cors/frontend
|
|
npm install
|
|
npm run serve
|
|
```
|
|
then open browser at: http://localhost:8080
|