mirror of
https://github.com/actix/examples
synced 2024-12-18 00:13:57 +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
|