mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
17 lines
224 B
Markdown
17 lines
224 B
Markdown
# Actix Web CORS example
|
|
|
|
## Run Server
|
|
```sh
|
|
cd cors/backend
|
|
cargo run
|
|
```
|
|
|
|
## Run Frontend
|
|
In a separate terminal, also run:
|
|
```sh
|
|
cd cors/frontend
|
|
npm install
|
|
npm run serve
|
|
```
|
|
then open browser at: http://localhost:8080
|