mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
21 lines
261 B
Markdown
21 lines
261 B
Markdown
# Cross-Origin Resource Sharing (CORS)
|
|
|
|
## [Run Server](backend/README.md)
|
|
|
|
```sh
|
|
cd cors/backend
|
|
cargo run
|
|
```
|
|
|
|
## Run Frontend
|
|
|
|
In a separate terminal, also run:
|
|
|
|
```sh
|
|
cd cors/frontend
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
then open browser at: http://localhost:8080
|